aboutsummaryrefslogtreecommitdiff
path: root/tests/include/testing.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-06-23 11:00:55 -0400
committerGitHub <noreply@github.com>2026-06-23 11:00:55 -0400
commit5e0b3fbefebaeff1fa5bfb338c760b9b9e270f02 (patch)
tree14b22fc5b82a9db87720c820c54422c9b9c47a1c /tests/include/testing.h
parent70c1ba3962166853fc7a1e4f2bb1d637104312b1 (diff)
parent0f6a1c982c2f417e9f0de968bbb7ce58299a8e8d (diff)
downloadstasis-3c51faf2c6bcb532e9cc737c629b4307ce500de9.tar.gz
Merge pull request #147 from jhunkeler/conda-updates1.8.0
Support modern versions of conda/mamba
Diffstat (limited to 'tests/include/testing.h')
-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) {