aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-23 01:57:57 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-23 01:57:57 +0000
commitc46326e48c46b88cb6a2692a7e325efbfe5b602d (patch)
tree6dd22f05458cae5b5437518a1e095786366865de /test
parent14c3a7d41a7ad442d80bc952d800b591020a27e9 (diff)
downloadpaludis-c46326e48c46b88cb6a2692a7e325efbfe5b602d.tar.gz
paludis-c46326e48c46b88cb6a2692a7e325efbfe5b602d.tar.xz
Make the extra test exception information work even when the linker thinks it is cleverer than us.
Diffstat (limited to 'test')
-rw-r--r--test/test_framework.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_framework.cc b/test/test_framework.cc
index f4a9ebd..0458139 100644
--- a/test/test_framework.cc
+++ b/test/test_framework.cc
@@ -38,11 +38,11 @@ using namespace test;
*
* \ingroup Test
*/
-std::string exception_to_debug_string(const std::exception &) PALUDIS_ATTRIBUTE((weak));
+std::string exception_to_debug_string(const std::exception &) PALUDIS_ATTRIBUTE((weak,noinline));
std::string exception_to_debug_string(const std::exception & e)
{
- return e.what();
+ return e.what() + std::string(" (no further information)");
}
#ifndef DOXYGEN