int main(int argc, char **argv) { static TestUtilsTest tests[] = { TU_TEST(test_encode, 90), TU_TEST(test_decode, 90), TU_TEST(test_roundtrip, 90), TU_TEST(test_roundtrip_rand, 90), TU_END() }; return testutils_run_tests(argc, argv, tests); }
int main(int argc, char **argv) { static TestUtilsTest tests[] = { TU_TEST(test_old_impls, 90), TU_TEST(test_inter_proc_locking, 60), TU_TEST(test_intra_proc_locking, 60), TU_END() }; glib_init(); return testutils_run_tests(argc, argv, tests); }
int main(int argc, char **argv) { static TestUtilsTest tests[] = { TU_TEST(test_sync, 60), TU_END() }; glib_init(); return testutils_run_tests(argc, argv, tests); }
int main(int argc, char **argv) { #if defined(G_THREADS_ENABLED) && !defined(G_THREADS_IMPL_NONE) static TestUtilsTest tests[] = { TU_TEST(test_decr_wait, 90), TU_TEST(test_wait_empty, 90), TU_TEST(test_force_adjust, 90), TU_TEST(test_force_set, 90), TU_END() }; glib_init(); return testutils_run_tests(argc, argv, tests); #else g_fprintf(stderr, "No thread support on this platform -- nothing to test\n"); return 0; #endif }
int main(int argc, char **argv) { static TestUtilsTest tests[] = { TU_TEST(test_round_trip, 90), TU_TEST(test_unquote_string, 90), TU_TEST(test_split_quoted_strings, 90), TU_TEST(test_split_quoted_strings_edge, 90), TU_TEST(test_strquotedstr_skipping, 90), TU_TEST(test_strquotedstr_edge_invalid, 90), TU_TEST(test_strquotedstr_edge_valid, 90), TU_END() }; return testutils_run_tests(argc, argv, tests); }
int main(int argc, char **argv) { int result; static TestUtilsTest tests[] = { TU_TEST(test_vfs_free_space, 90), TU_END() }; glib_init(); config_init(0, NULL); device_api_init(); /* TODO: if more tests are added, we'll need a setup/cleanup hook * for testutils */ device_path = setup_vtape_dir(); result = testutils_run_tests(argc, argv, tests); cleanup_vtape_dir(device_path); amfree(device_path); return result; }
int main(int argc, char **argv) { static TestUtilsTest tests[] = { TU_TEST(test_validate_regexp, 90), TU_TEST(test_match, 90), TU_TEST(test_validate_glob, 90), TU_TEST(test_glob_to_regex, 90), TU_TEST(test_match_glob, 90), TU_TEST(test_match_tar, 90), TU_TEST(test_make_exact_host_expression, 90), TU_TEST(test_match_host, 90), TU_TEST(test_make_exact_disk_expression, 90), TU_TEST(test_match_disk, 90), TU_TEST(test_match_datestamp, 90), TU_TEST(test_match_level, 90), TU_END() }; return testutils_run_tests(argc, argv, tests); }