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: RFC V3 [1/2] test-in-container


Florian Weimer <fweimer@redhat.com> writes:
> I think we need something to run these tests outside the Makefile 
> framework, similar to testrun.sh.

Mostly, you can do ./testrun.sh support/test-container ./some-program

There's overhead in $srcdir/Rules to handle all the other environment
variables needed for various tests, but you have that as a manual step
the old way too.

Otherwise, if you happen to be running a test with a container setup,
it autodetects that.  So this should work:

$ ./testrun.sh support/test-container nss/tst-nss-test3

where it finds nss/tst-nss-test3/* and sets up the container for you.


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