summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-07 19:33:02 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-07 19:33:02 +0300
commitc9040fd25b58d74b69418a9badecaf23e4076bf0 (patch)
tree52569bc46e486764aa4a27141c4cf31493808097 /src/test
parentd785186e1dd69a0fc84ad241bc039ee865bdad2e (diff)
downloadManaVerse-c9040fd25b58d74b69418a9badecaf23e4076bf0.tar.gz
ManaVerse-c9040fd25b58d74b69418a9badecaf23e4076bf0.tar.bz2
ManaVerse-c9040fd25b58d74b69418a9badecaf23e4076bf0.tar.xz
ManaVerse-c9040fd25b58d74b69418a9badecaf23e4076bf0.zip
Revert "Fix catch compilation without HAVE_EXECINFO define."
This reverts commit 9bbd191307c97c7589f93a64a4eb9abf3f11c46b.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/catch.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/catch.hpp b/src/test/catch.hpp
index ffaa1d3d6..555760450 100644
--- a/src/test/catch.hpp
+++ b/src/test/catch.hpp
@@ -6774,14 +6774,11 @@ namespace Catch {
message2.append(strings[i]).append("\n");
free(strings);
}
-
- tempResult.message = message2;
-#else // HAVE_EXECINFO
-
- tempResult.message = message;
#endif // HAVE_EXECINFO
// stack
+ tempResult.message = message2;
+
AssertionResult result(m_lastAssertionInfo, tempResult);
getResultCapture().assertionEnded(result);