diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-07 04:44:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-07 04:44:45 +0300 |
commit | 9bbd191307c97c7589f93a64a4eb9abf3f11c46b (patch) | |
tree | c896ac7a26212ff594187a716f1d3b834869bca5 | |
parent | abdf125bd2e7c97327c84fd4348b1b74225dbcde (diff) | |
download | mv-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.tar.gz mv-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.tar.bz2 mv-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.tar.xz mv-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.zip |
Fix catch compilation without HAVE_EXECINFO define.
-rw-r--r-- | src/test/catch.hpp | 7 |
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); |