This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC V3 [1/2] test-in-container
- From: DJ Delorie <dj at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 28 Jun 2018 16:35:49 -0400
- Subject: 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.