@@ -58,12 +58,14 @@ class TestSuppressions : public TestFixture {
5858 TEST_CASE (suppressionsFileNameWithExtraPath);
5959 TEST_CASE (suppressionsSettingsFiles);
6060 TEST_CASE (suppressionsSettingsFS);
61+ #ifdef HAS_THREADING_MODEL_THREAD
6162 TEST_CASE (suppressionsSettingsThreadsFiles);
6263 TEST_CASE (suppressionsSettingsThreadsFS);
63- #if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
64+ #endif // HAS_THREADING_MODEL_THREAD
65+ #ifdef HAS_THREADING_MODEL_FORK
6466 TEST_CASE (suppressionsSettingsProcessesFiles);
6567 TEST_CASE (suppressionsSettingsProcessesFS);
66- #endif
68+ #endif // HAS_THREADING_MODEL_FORK
6769 TEST_CASE (suppressionsMultiFileFiles);
6870 TEST_CASE (suppressionsMultiFileFS);
6971 TEST_CASE (suppressionsPathSeparator);
@@ -294,6 +296,7 @@ class TestSuppressions : public TestFixture {
294296 return exitCode;
295297 }
296298
299+ #ifdef HAS_THREADING_MODEL_THREAD
297300 unsigned int checkSuppressionThreadsFiles (const char code[], const std::string &suppression = " " ) {
298301 return _checkSuppressionThreads (code, false , suppression);
299302 }
@@ -341,8 +344,9 @@ class TestSuppressions : public TestFixture {
341344
342345 return exitCode;
343346 }
347+ #endif // HAS_THREADING_MODEL_THREAD
344348
345- #if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
349+ #ifdef HAS_THREADING_MODEL_FORK
346350 unsigned int checkSuppressionProcessesFiles (const char code[], const std::string &suppression = " " ) {
347351 return _checkSuppressionProcesses (code, false , suppression);
348352 }
@@ -390,7 +394,7 @@ class TestSuppressions : public TestFixture {
390394
391395 return exitCode;
392396 }
393- #endif
397+ #endif // HAS_THREADING_MODEL_FORK
394398
395399 // TODO: check all results
396400 void runChecks (unsigned int (TestSuppressions::*check)(const char [], const std::string &)) {
@@ -920,23 +924,25 @@ class TestSuppressions : public TestFixture {
920924 runChecks (&TestSuppressions::checkSuppressionFS);
921925 }
922926
927+ #ifdef HAS_THREADING_MODEL_THREAD
923928 void suppressionsSettingsThreadsFiles () {
924929 runChecks (&TestSuppressions::checkSuppressionThreadsFiles);
925930 }
926931
927932 void suppressionsSettingsThreadsFS () {
928933 runChecks (&TestSuppressions::checkSuppressionThreadsFS);
929934 }
935+ #endif // HAS_THREADING_MODEL_THREAD
930936
931- #if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
937+ #ifdef HAS_THREADING_MODEL_FORK
932938 void suppressionsSettingsProcessesFiles () {
933939 runChecks (&TestSuppressions::checkSuppressionProcessesFiles);
934940 }
935941
936942 void suppressionsSettingsProcessesFS () {
937943 runChecks (&TestSuppressions::checkSuppressionProcessesFS);
938944 }
939- #endif
945+ #endif // HAS_THREADING_MODEL_FORK
940946
941947 void suppressionsMultiFileInternal (unsigned int (TestSuppressions::*check)(std::map<std::string, std::string> &f, const std::string &)) {
942948 std::map<std::string, std::string> files;
0 commit comments