summaryrefslogtreecommitdiffstats
path: root/tests/auto/maketestselftest
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-06-04 01:58:56 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-06-04 01:58:56 (GMT)
commit21bd54d5cf754ca5a5928cbd3c2a0ab17e64f633 (patch)
tree89ab229167cd5cca7957dad2eb066087b1ee190b /tests/auto/maketestselftest
parent6c595b799bbcf9b5220c00fa9ef5896524f430fd (diff)
downloadQt-21bd54d5cf754ca5a5928cbd3c2a0ab17e64f633.zip
Qt-21bd54d5cf754ca5a5928cbd3c2a0ab17e64f633.tar.gz
Qt-21bd54d5cf754ca5a5928cbd3c2a0ab17e64f633.tar.bz2
Skip tst_maketestselftest::make_check by default on Windows
nmake and checktest are too slow on Windows for this test to be enabled by default. Set RUN_SLOW_TESTS=1 to run the test manually.
Diffstat (limited to 'tests/auto/maketestselftest')
-rw-r--r--tests/auto/maketestselftest/tst_maketestselftest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/maketestselftest/tst_maketestselftest.cpp b/tests/auto/maketestselftest/tst_maketestselftest.cpp
index c3cbf76..3d1bbed 100644
--- a/tests/auto/maketestselftest/tst_maketestselftest.cpp
+++ b/tests/auto/maketestselftest/tst_maketestselftest.cpp
@@ -458,6 +458,9 @@ void tst_MakeTestSelfTest::make_check()
QString checktest(SRCDIR "/checktest/checktest");
#ifdef Q_OS_WIN32
+ 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);
+ }
checktest.replace("/", "\\");
checktest += ".exe";
#endif