From fb290a719732451b007382ea08b7f52aa4ec1216 Mon Sep 17 00:00:00 2001 From: Greg Hewgill Date: Tue, 3 May 2011 10:41:52 +0000 Subject: [PATCH] Fix testsuppressions for Windows builds for now, pending further refactoring --- test/testsuppressions.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/testsuppressions.cpp b/test/testsuppressions.cpp index 2570321db..08125c4b5 100644 --- a/test/testsuppressions.cpp +++ b/test/testsuppressions.cpp @@ -65,11 +65,6 @@ private: { errout.str(""); output.str(""); - if (!ThreadExecutor::isEnabled()) - { - // Skip this check on systems which don't use this feature - return; - } std::vector filenames; std::map filesizes; @@ -236,7 +231,8 @@ private: void suppressionsSettings() { runChecks(&TestSuppressions::checkSuppression); - runChecks(&TestSuppressions::checkSuppressionThreads); + if (ThreadExecutor::isEnabled()) + runChecks(&TestSuppressions::checkSuppressionThreads); } void suppressionsMultiFile()