From 9fb59763bce293c2490e0b9f8e97bb1f74ba0910 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 26 Feb 2010 09:04:11 -0500 Subject: Add --with-test-dir option to configure 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 --- src/tests/ipa_timerules-tests.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/ipa_timerules-tests.c') diff --git a/src/tests/ipa_timerules-tests.c b/src/tests/ipa_timerules-tests.c index 0a7be90be..29fc7e4ac 100644 --- a/src/tests/ipa_timerules-tests.c +++ b/src/tests/ipa_timerules-tests.c @@ -569,6 +569,8 @@ int main(int argc, const char *argv[]) } debug_level = debug; + tests_set_cwd(); + timelib_suite = create_timelib_suite(); sr = srunner_create(timelib_suite); /* If CK_VERBOSITY is set, use that, otherwise it defaults to CK_NORMAL */ -- cgit