aboutsummaryrefslogtreecommitdiff
path: root/test/test_framework.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_framework.cc')
-rw-r--r--test/test_framework.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_framework.cc b/test/test_framework.cc
index af8b60809..b08e42c58 100644
--- a/test/test_framework.cc
+++ b/test/test_framework.cc
@@ -75,6 +75,11 @@ test::set_exception_to_debug_string(std::string (*f) (const std::exception &))
DebugStringHolder::get_instance()->set(f);
}
+std::string (* test::get_exception_to_debug_string()) (const std::exception &)
+{
+ return DebugStringHolder::get_instance()->get();
+}
+
namespace paludis
{
template<>