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 /src/test | |
parent | abdf125bd2e7c97327c84fd4348b1b74225dbcde (diff) | |
download | plus-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.tar.gz plus-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.tar.bz2 plus-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.tar.xz plus-9bbd191307c97c7589f93a64a4eb9abf3f11c46b.zip |
Fix catch compilation without HAVE_EXECINFO define.
Diffstat (limited to 'src/test')
-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); |