aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-06-16 13:04:23 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-06-22 11:57:05 -0400
commitdbbd423b4a57267ded4fab80bdd54b5eca2cedb3 (patch)
treeb32a796aceed17f28c3090e2dee663abd0675337 /tests/include
parentb95f5a2fed749f7fe5154927620457385b0292f8 (diff)
downloadstasis-dbbd423b4a57267ded4fab80bdd54b5eca2cedb3.tar.gz
tests: Do not print the reason message for tests that passed when a failure occurs
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/testing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/include/testing.h b/tests/include/testing.h
index d11398c..393ab0b 100644
--- a/tests/include/testing.h
+++ b/tests/include/testing.h
@@ -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) {