diff options
author | Harald Fernengel <harald@trolltech.com> | 2009-07-21 11:19:49 (GMT) |
---|---|---|
committer | Harald Fernengel <harald@trolltech.com> | 2009-07-21 11:20:03 (GMT) |
commit | 31e358f2290c145b839fc5b7b277922c1ab6e19b (patch) | |
tree | 6569829854abd6c2011f740c3d91f6fe9e890836 /tests/auto/qclipboard | |
parent | 2db22b1b12cc7579d08a83ad889efe7f8f07c843 (diff) | |
download | Qt-31e358f2290c145b839fc5b7b277922c1ab6e19b.zip Qt-31e358f2290c145b839fc5b7b277922c1ab6e19b.tar.gz Qt-31e358f2290c145b839fc5b7b277922c1ab6e19b.tar.bz2 |
fix tests for QT_NO_PROCESS and when running tests as root
Diffstat (limited to 'tests/auto/qclipboard')
-rw-r--r-- | tests/auto/qclipboard/tst_qclipboard.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qclipboard/tst_qclipboard.cpp b/tests/auto/qclipboard/tst_qclipboard.cpp index f400754..bcdf043 100644 --- a/tests/auto/qclipboard/tst_qclipboard.cpp +++ b/tests/auto/qclipboard/tst_qclipboard.cpp @@ -192,6 +192,7 @@ void tst_QClipboard::testSignals() */ void tst_QClipboard::copy_exit_paste() { +#ifndef QT_NO_PROCESS #if defined Q_WS_X11 || defined Q_WS_QWS QSKIP("This test does not make sense on X11 and embedded, copied data disappears from the clipboard when the application exits ", SkipAll); // ### It's still possible to test copy/paste - just keep the apps running @@ -205,6 +206,7 @@ void tst_QClipboard::copy_exit_paste() QTest::qWait(100); #endif QCOMPARE(QProcess::execute("paster/paster", stringArgument), 0); +#endif } void tst_QClipboard::setMimeData() |