summaryrefslogtreecommitdiffstats
path: root/tests/auto/maketestselftest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/maketestselftest')
-rw-r--r--tests/auto/maketestselftest/tst_maketestselftest.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/maketestselftest/tst_maketestselftest.cpp b/tests/auto/maketestselftest/tst_maketestselftest.cpp
index 3d1bbed..a9077e3 100644
--- a/tests/auto/maketestselftest/tst_maketestselftest.cpp
+++ b/tests/auto/maketestselftest/tst_maketestselftest.cpp
@@ -457,10 +457,13 @@ void tst_MakeTestSelfTest::make_check()
QString testsDir(SRCDIR "/..");
QString checktest(SRCDIR "/checktest/checktest");
-#ifdef Q_OS_WIN32
+#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
if (qgetenv("RUN_SLOW_TESTS").isEmpty()) {
- QSKIP("This test is too slow to run by default on Windows. Set RUN_SLOW_TESTS=1 to run it.", SkipAll);
+ QSKIP("This test is too slow to run by default on this OS. Set RUN_SLOW_TESTS=1 to run it.", SkipAll);
}
+#endif
+
+#ifdef Q_OS_WIN32
checktest.replace("/", "\\");
checktest += ".exe";
#endif