From ccf8cfd8ca0780693914c475df6dddad05028b88 Mon Sep 17 00:00:00 2001 From: Ayrton Chilibeck Date: Thu, 12 Sep 2024 22:36:41 -0600 Subject: [PATCH] Removed MT Debug info Now just to make the actual printing happen in the proper sequence --- src/testharness/TestHarness.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/testharness/TestHarness.cpp b/src/testharness/TestHarness.cpp index f65f02c..1ec8c21 100644 --- a/src/testharness/TestHarness.cpp +++ b/src/testharness/TestHarness.cpp @@ -91,26 +91,19 @@ void TestHarness::threadRunTestBatch(std::reference_wrapper lock(currentIndexLock); - std::cout << "Mutex Locked" << std::endl; // store the current index tmpIndex = currentIndex; // increment for the next lad currentIndex += cfg.getBatchSize(); } - std::cout << "Mutex Unlocked" << std::endl; - std::cout << "Current index: " << currentIndex << " || Tests size: " << tests.get().size() << std::endl; - size_t endIndex = ((tmpIndex + cfg.getBatchSize()) >= tests.get().size()) ? tests.get().size() : tmpIndex + cfg.getBatchSize(); - std::cout << "Thread " << std::this_thread::get_id() << ": Executing tests [" << tmpIndex << ", " << endIndex << "]" << std::endl; - threadRunTestsForToolChain(std::ref(toolchains), std::ref(executables), std::ref(tests), tmpIndex, endIndex); } } @@ -121,7 +114,6 @@ void TestHarness::threadRunTestsForToolChain(std::reference_wrappergetInsPath() << std::endl; ToolChain toolChain = cfg.getToolChain(tcNames.get().at(i)); // Get the toolchain to use. const fs::path& exe = cfg.getExecutablePath(exeNames.get().at(i)); // Set the toolchain's exe to be tested. toolChain.setTestedExecutable(exe);