This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: test-in-container: Moving a test to a particular location *before* execution?


On 12/10/19 2:42 PM, DJ Delorie wrote:
> 
> You mean something that copies the test to a specified location, and
> execs that instead of the in-build one?

Yes.
 
> I suppose the easiest way to implement that is to add yet another
> command to the setup script, like this:
> 
>   exec /bin/foo

I like it.

> which means "whatever you were about to exec, copy it to this path, and
> exec that instead"
> 
> Bonus: if the destination path ends in "/", append the basename of the
> specified test.

Sure, it avoids needing to keep the test name in sync in the file.

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]