dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFA] fix remote testing I/O conflicts


From: Yvan Roux
Subject: Re: [RFA] fix remote testing I/O conflicts
Date: Sun, 3 Apr 2016 20:57:49 +0200

Hi,

here the patch which addresses the comments made on this list and no
irc.  It changes the layout where the testcase are downloaded on the
remote target by introducing a new directory under /tmp, where the
programs are downloaded and executed. (i.e /tmp/test_name.PID =>
/tmp/runtest.PID/test_name and execution => cd /tmp/runtest.PID/ ;
/tmp/runtest.PID/test_name).

Tested on a full cross validaiton of GCC without regressions.

Rq: The behavior of the standard routines is not changed, only the
name remotefile is modifed.

Cheers,
Yvan

2016-04-03  Yvan Roux  <address@hidden>

        * config/unix.exp (unix_load): Delegate remote directory handling to
        remote_download.
        * lib/remote.exp (remnote_download): Create a remote directory (in a
        new global remotedir) if needed and handle it.
        (remote_exec): Execute program inside remotedir when it exists.
        (remote_close): Remove remotedir when it exists.
        (standard_load): Delegate remote directory handling to
        remote_download.

On 15 March 2016 at 05:34, Ben Elliston <address@hidden> wrote:
> Your proposed solution seems fine. Please send a fully documented
> patch and I'll review it.
>
> Cheers, Ben

Attachment: fix-remote-layout.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]