From 2de495aed26bf75a750a76ca73b9f85d341fe1c5 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Wed, 25 Jul 2012 09:59:17 +0200 Subject: tests: allow changing cwd in all tests --- src/tests/debug-tests.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tests/debug-tests.c') diff --git a/src/tests/debug-tests.c b/src/tests/debug-tests.c index 40dd2e98..a751d836 100644 --- a/src/tests/debug-tests.c +++ b/src/tests/debug-tests.c @@ -28,6 +28,7 @@ #include #include #include "util/util.h" +#include "tests/common.h" #define DEBUG_TEST_ERROR -1 #define DEBUG_TEST_NOK 1 @@ -1022,6 +1023,8 @@ int main(int argc, const char *argv[]) { int number_failed; + tests_set_cwd(); + Suite *s = debug_suite(); SRunner *sr = srunner_create(s); -- cgit