RFC V3 [1/2] test-in-container
DJ Delorie
dj@redhat.com
Thu Jun 28 20:35:00 GMT 2018
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.
More information about the Libc-alpha
mailing list