GOptionContext *context;
int status;
+ plan_tests(NR_TESTS);
+
context = g_option_context_new("- bin info test");
g_option_context_add_main_entries(context, entries, NULL);
if (!g_option_context_parse(context, &argc, &argv, &error)) {
goto end;
}
- plan_tests(NR_TESTS);
-
ret = bin_info_init(BT_LOG_OUTPUT_LEVEL, NULL);
ok(ret == 0, "bin_info_init successful");
test_bin_info_build_id(opt_debug_info_dir);
test_bin_info_debug_link(opt_debug_info_dir);
- status = EXIT_SUCCESS;
+ status = exit_status();
end:
g_option_context_free(context);