25 #include "dbus-internals.h"
26 #include "dbus-test.h"
27 #include "dbus-auth.h"
36 #ifdef DBUS_BUILD_TESTS
37 #include "dbus-test.h"
38 #include "dbus-auth-script.h"
42 process_test_subdir (
const DBusString *test_base_dir,
80 printf (
"Testing %s:\n", subdir);
98 _dbus_verbose (
"Skipping non-.auth-script file %s\n",
106 if (!_dbus_auth_script_run (&full_path))
117 _dbus_warn (
"Could not get next file in %s: %s\n",
136 process_test_dirs (
const char *test_data_dir)
145 if (!process_test_subdir (&test_directory,
"auth"))
158 _dbus_auth_test (
const char *test_data_dir)
161 if (test_data_dir ==
NULL)
164 if (!process_test_dirs (test_data_dir))