From: heister Date: Fri, 4 Oct 2013 18:20:58 +0000 (+0000) Subject: fix test in release mode X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c22fa1b5fef064f736778e6090278afe049fbf;p=dealii-svn.git fix test in release mode git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31120 0785d39b-7218-0410-832d-ea1e28bc413d --- 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()); }