[SSSD] [PATCH] Add --with-test-dir option to configure

Sumit Bose sbose at redhat.com
Tue Mar 2 12:20:29 UTC 2010


On Mon, Mar 01, 2010 at 11:17:13AM +0100, Sumit Bose wrote:
> On Fri, Feb 26, 2010 at 12:23:51PM -0500, Stephen Gallagher wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > On 02/26/2010 11:15 AM, Stephen Gallagher wrote:
> > > All 'make check' tests will chdir() into this directory before
> > > running the suite. This provides the option of having temporary
> > > files generated in a tmpfs or ramdisk
> > > 
> > > e.g. ./configure --with-test-dir=/dev/shm
> > > 
> > > This is especially useful when your normal build directory is on a slow
> > > and/or encrypted filesystem.
> > 
> > New version. This one uses tests_set_cwd() instead of copying the
> > chdir() code into every test.
> > 
> > It also updates the makefile so that we only have to build
> > tests/common.c once.
> > 
> > - -- 
> > Stephen Gallagher
> > RHCE 804006346421761
> > 
> > Delivering value year after year.
> > Red Hat ranks #1 in value among software vendors.
> > http://www.redhat.com/promo/vendor/
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
> > 
> > iEYEARECAAYFAkuIA6cACgkQeiVVYja6o6PJZgCfTLAT+mfSTce1uicScqbQ0MIr
> > pWkAnjWSPEGG/raWFQ94DtKVTo1m498g
> > =n0u/
> > -----END PGP SIGNATURE-----
> 
> ACK.
> 
> bye,
> Sumit

ahh, sorry,

NACK,

there is another #ifdef SYSDB_TEST where ABS_BUILD_DIR needs to be used.

bye,
Sumit



More information about the sssd-devel mailing list