aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/testing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/include/testing.h b/tests/include/testing.h
index d11398c..a669b5d 100644
--- a/tests/include/testing.h
+++ b/tests/include/testing.h
@@ -11,7 +11,7 @@
#ifdef STASIS_TEST_VERBOSE
#define STASIS_TEST_MSG(MSG, ...) do { \
-fprintf(stderr, "%s:%d:%s(): ", path_basename(__FILE__), __LINE__, __FUNCTION__); \
+fprintf(stderr, "%s:%d:%s(): ", path_basename(__FILE__), __LINE__, __func__); \
fprintf(stderr, MSG LINE_SEP, __VA_ARGS__); \
} while (0)
#else
@@ -76,6 +76,7 @@ inline void stasis_testing_record_result_summary() {
do_message = 1;
#endif
strcpy(status_msg, "PASS");
+ do_reason = 0;
passed++;
}
if (do_message) {