summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-12 09:38:52 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2009-08-12 09:38:52 (GMT)
commitefa40eb09f8f1aca87439456666a2747e435e548 (patch)
tree1e32e912bb8c6de1a359490940e9588999e5fecd /tests
parent83551ae05fd78b720b48aaa51650d35ba6ea6d17 (diff)
downloadQt-efa40eb09f8f1aca87439456666a2747e435e548.zip
Qt-efa40eb09f8f1aca87439456666a2747e435e548.tar.gz
Qt-efa40eb09f8f1aca87439456666a2747e435e548.tar.bz2
Skipped setEnvironment test in qprocess test for Symbian
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qprocess/tst_qprocess.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qprocess/tst_qprocess.cpp b/tests/auto/qprocess/tst_qprocess.cpp
index 6059833..111a093 100644
--- a/tests/auto/qprocess/tst_qprocess.cpp
+++ b/tests/auto/qprocess/tst_qprocess.cpp
@@ -164,7 +164,7 @@ protected slots:
void restartProcess();
void waitForReadyReadInAReadyReadSlotSlot();
void waitForBytesWrittenInABytesWrittenSlotSlot();
-
+
private:
QProcess *process;
qint64 bytesAvailable;
@@ -1805,8 +1805,9 @@ void tst_QProcess::setEnvironment_data()
void tst_QProcess::setEnvironment()
{
-#if !defined (Q_OS_WINCE)
- // there is no concept of system variables on Windows CE as there is no console
+#if defined (Q_OS_WINCE) || defined(Q_OS_SYMBIAN)
+ QSKIP("OS doesn't support environment variables", SkipAll);
+#endif
// make sure our environment variables are correct
QVERIFY(qgetenv("tst_QProcess").isEmpty());
@@ -1882,7 +1883,6 @@ void tst_QProcess::setEnvironment()
QCOMPARE(process.readAll(), value.toLocal8Bit());
}
-#endif
}
//-----------------------------------------------------------------------------
void tst_QProcess::systemEnvironment()