From defa0599971e680873b2a74e569aae6294c59707 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 22 May 2020 15:51:10 -0500 Subject: [PATCH] remove obsolete test --- tests/base/task_11.cc | 6 ++---- tests/base/task_11.with_threads=on.output | 8 -------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 tests/base/task_11.with_threads=on.output 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 -- 2.39.5