The C TAP library provides the 'exit_status()' function that will return
the proper exit code according to the number of tests that succeeded or
failed.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I786527dfa9cfe2d1a7c8bc80086d54186f60b4d9
"Weak-hidden behavior is the same for 4 bytes integer and pointer objects within main program");
ok(match_matrix[MATCH_LIB_INT] == match_matrix[MATCH_LIB_PTR],
"Weak-hidden behavior is the same for 4 bytes integer and pointer objects within shared library");
- return 0;
+
+ return exit_status();
}
sprintf(test_desc, test_desc_fmt_str, escaped_test_fmt_str);
ok(strcmp(buf, expected) == 0, test_desc);
- return 0;
+ return exit_status();
}
AARCH64_BE_CRC);
test_pic(test_dir);
- return EXIT_SUCCESS;
+ return exit_status();
}