]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove obsolete test
authorMatthias Maier <tamiko@43-1.org>
Fri, 22 May 2020 20:51:10 +0000 (15:51 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 22 May 2020 22:09:22 +0000 (17:09 -0500)
tests/base/task_11.cc
tests/base/task_11.with_threads=on.output [deleted file]

index c1595262834149d29202399a85c28d911e138ba4..96559b190c1cee8f0cdf98400d309b20dea5a6f4 100644 (file)
@@ -27,10 +27,10 @@ unsigned int   n_max_running;
 void
 a_task()
 {
-  mutex.acquire();
+  mutex.lock();
   n_running++;
   n_max_running = std::max(n_max_running, n_running);
-  mutex.release();
+  mutex.unlock();
 
   // Sleep some time to make sure all other concurrently running tasks enter
   // here.
@@ -60,8 +60,6 @@ test()
   mutex.release();
 
   tg.join_all();
-  deallog << "max concurrent running: " << n_max_running
-          << " should be: " << MultithreadInfo::n_threads() << std::endl;
 }
 
 
diff --git a/tests/base/task_11.with_threads=on.output b/tests/base/task_11.with_threads=on.output
deleted file mode 100644 (file)
index 8cc3659..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-
-DEAL::* default thread limit for tests: 3
-DEAL::max concurrent running: 3 should be: 3
-DEAL::* now with thread limit 1:
-DEAL::max concurrent running: 1 should be: 1
-DEAL::* now with thread limit 2:
-DEAL::max concurrent running: 2 should be: 2
-DEAL::OK

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.