summaryrefslogtreecommitdiffstats
path: root/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compilerwarnings/tst_compilerwarnings.cpp')
-rw-r--r--tests/auto/compilerwarnings/tst_compilerwarnings.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/compilerwarnings/tst_compilerwarnings.cpp b/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
index 57795c9..d5fef1b 100644
--- a/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
+++ b/tests/auto/compilerwarnings/tst_compilerwarnings.cpp
@@ -47,6 +47,10 @@
#include <QtTest/QtTest>
+#ifdef QT_NO_PROCESS
+QTEST_NOOP_MAIN
+#else
+
#include <stdlib.h>
QT_USE_NAMESPACE
@@ -248,4 +252,4 @@ void tst_CompilerWarnings::warnings()
QTEST_APPLESS_MAIN(tst_CompilerWarnings)
#include "tst_compilerwarnings.moc"
-
+#endif // QT_NO_PROCESS