From a73a79a155e97a3bd0d3ce5001ca6b9db803eeeb Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 30 May 2008 16:53:35 -0400 Subject: Add noinst convenience test library, add a test-shutdown * test/Makefile.am: New convenience library libdbus_testutils_la. Reorder build so that test/ gets built before test/name-test so name-test files can depend on it. * test/name-test/test-shutdown.c: New file, exercises dbus_shutdown () a bit. * test/name-test/run-test.sh Run test-shutdown. * test/test-utils.h: In some cases we already have DBUS_COMPILATION defined, avoid double definition warning. --- test/test-utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test-utils.h') diff --git a/test/test-utils.h b/test/test-utils.h index ec8246a1..90d87767 100644 --- a/test/test-utils.h +++ b/test/test-utils.h @@ -1,7 +1,9 @@ #ifndef TEST_UTILS_H #define TEST_UTILS_H #include +#ifndef DBUS_COMPILATION #define DBUS_COMPILATION /* Cheat and use private stuff */ +#endif #include #include #include -- cgit