25 #include "dbus-internals.h"
26 #include "dbus-test.h"
27 #include "dbus-auth.h"
36 #ifdef DBUS_ENABLE_EMBEDDED_TESTS
37 #include "dbus-auth-script.h"
41 process_test_subdir (
const DBusString *test_base_dir,
79 printf (
"Testing %s:\n", subdir);
97 _dbus_verbose (
"Skipping non-.auth-script file %s\n",
105 if (!_dbus_auth_script_run (&full_path))
116 _dbus_warn (
"Could not get next file in %s: %s",
135 process_test_dirs (
const char *test_data_dir)
144 if (!process_test_subdir (&test_directory,
"auth"))
157 _dbus_auth_test (
const char *test_data_dir)
160 if (test_data_dir ==
NULL)
163 if (!process_test_dirs (test_data_dir))