From 45c22fa1b5fef064f736778e6090278afe049fbf Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 4 Oct 2013 18:20:58 +0000 Subject: [PATCH] fix test in release mode git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31120 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/thread_local_storage_03.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/base/thread_local_storage_03.cc b/tests/base/thread_local_storage_03.cc index e8c1ffed76..26dd2834ea 100644 --- a/tests/base/thread_local_storage_03.cc +++ b/tests/base/thread_local_storage_03.cc @@ -51,7 +51,9 @@ void test () Threads::Thread t; t = Threads::new_thread (&X::f, x); - Assert (t.return_value() == 42, + int value = t.return_value(); + + Assert (value, ExcInternalError()); } -- 2.39.5