diff options
author | Harald Fernengel <harald@trolltech.com> | 2009-07-21 13:19:49 +0200 |
---|---|---|
committer | Harald Fernengel <harald@trolltech.com> | 2009-07-21 13:20:03 +0200 |
commit | 31e358f2290c145b839fc5b7b277922c1ab6e19b (patch) | |
tree | 6569829854abd6c2011f740c3d91f6fe9e890836 /tests/auto/bic/tst_bic.cpp | |
parent | 2db22b1b12cc7579d08a83ad889efe7f8f07c843 (diff) |
fix tests for QT_NO_PROCESS and when running tests as root
Diffstat (limited to 'tests/auto/bic/tst_bic.cpp')
-rw-r--r-- | tests/auto/bic/tst_bic.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/bic/tst_bic.cpp b/tests/auto/bic/tst_bic.cpp index cec5e76ea9..36c35ff08b 100644 --- a/tests/auto/bic/tst_bic.cpp +++ b/tests/auto/bic/tst_bic.cpp @@ -43,6 +43,10 @@ #include <QtCore/QtCore> #include <QtTest/QtTest> +#ifdef QT_NO_PROCESS +QTEST_NOOP_MAIN +#else + #include "qbic.h" #include <stdlib.h> @@ -367,4 +371,4 @@ void tst_Bic::sizesAndVTables() QTEST_APPLESS_MAIN(tst_Bic) #include "tst_bic.moc" - +#endif |