]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix test in release mode
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Oct 2013 18:20:58 +0000 (18:20 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 4 Oct 2013 18:20:58 +0000 (18:20 +0000)
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

index e8c1ffed7693e45266edeec3b3fdc32b797a89a5..26dd2834ea372558b3f63407f5f9d222276abc50 100644 (file)
@@ -51,7 +51,9 @@ void test ()
   Threads::Thread<int> t;
   t = Threads::new_thread (&X::f, x);
 
-  Assert (t.return_value() == 42,
+  int value = t.return_value();
+  
+  Assert (value,
           ExcInternalError());
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.