Set a default test_funcname.

This commit is contained in:
Nigel Tao committed 2017-06-11 12:04:46 +10:00
1 parent b98c9d14d3
commit e5736cadf6
1 file changed
+1
+1
View File
@@ -33,6 +33,7 @@ int main(int argc, char** argv) {
#endif
for (test* t = tests; *t; t++) {
test_funcname = "unknown_test_funcname";
(*t)();
if (fail_msg[0]) {
printf("%-16s%-8sFAIL %s: %s\n", test_filename, cc, test_funcname,