From: Matthias Maier Date: Fri, 22 May 2020 20:51:10 +0000 (-0500) Subject: remove obsolete test X-Git-Tag: v9.3.0-rc1~1580^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=defa0599971e680873b2a74e569aae6294c59707;p=dealii.git remove obsolete test --- diff --git a/tests/base/task_11.cc b/tests/base/task_11.cc index c159526283..96559b190c 100644 --- a/tests/base/task_11.cc +++ b/tests/base/task_11.cc @@ -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 index 8cc3659b08..0000000000 --- a/tests/base/task_11.with_threads=on.output +++ /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