X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dbus%2Fdbus-test.c;h=b707ee22da598c7fd72ade3a45e85efcaa5c1a47;hb=a0be921da79a78e2c0484d99aac9002a1de1d0cf;hp=224a6c8cee6f594b622a4375e81cd5b2b7abb510;hpb=a183a33fb5bceefe53d60d584f352ca0b61667e1;p=platform%2Fupstream%2Fdbus.git diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index 224a6c8..b707ee2 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -28,7 +28,7 @@ #include #include -#ifdef DBUS_BUILD_TESTS +#ifdef DBUS_ENABLE_EMBEDDED_TESTS static void die (const char *failure) { @@ -84,7 +84,7 @@ run_data_test (const char *test_name, } } -#endif /* DBUS_BUILD_TESTS */ +#endif /* DBUS_ENABLE_EMBEDDED_TESTS */ /** * An exported symbol to be run in order to execute @@ -94,11 +94,12 @@ run_data_test (const char *test_name, * (with --enable-tests=no) * * @param test_data_dir the directory with test data (test/data normally) + * @param specific_test run specific test or #NULL to run all tests */ void dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *specific_test) { -#ifdef DBUS_BUILD_TESTS +#ifdef DBUS_ENABLE_EMBEDDED_TESTS if (!_dbus_threads_init_debug ()) die ("debug threads init");