summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/catch.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/catch.hpp b/src/test/catch.hpp
index 555760450..ffaa1d3d6 100644
--- a/src/test/catch.hpp
+++ b/src/test/catch.hpp
@@ -6774,10 +6774,13 @@ namespace Catch {
message2.append(strings[i]).append("\n");
free(strings);
}
-#endif // HAVE_EXECINFO
-// stack
tempResult.message = message2;
+#else // HAVE_EXECINFO
+
+ tempResult.message = message;
+#endif // HAVE_EXECINFO
+// stack
AssertionResult result(m_lastAssertionInfo, tempResult);
getResultCapture().assertionEnded(result);