summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-25 12:44:06 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-09-25 12:44:06 (GMT)
commita8c50d490769f587b54a8a60f592a091e2f1e05b (patch)
tree82aab35f35ec7fb850ab1b36afd31c812ad2f6f8 /tests
parent22cfaa3aa04f84e65cd5867d432c6f4b4ad028f6 (diff)
downloadQt-a8c50d490769f587b54a8a60f592a091e2f1e05b.zip
Qt-a8c50d490769f587b54a8a60f592a091e2f1e05b.tar.gz
Qt-a8c50d490769f587b54a8a60f592a091e2f1e05b.tar.bz2
Skipped QProcess::setProcessEnvironment auto test for Symbian.
Symbian OS doesn't support environment variables. Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qprocess/tst_qprocess.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/qprocess/tst_qprocess.cpp b/tests/auto/qprocess/tst_qprocess.cpp
index 9e3bce0..d5bc0bd 100644
--- a/tests/auto/qprocess/tst_qprocess.cpp
+++ b/tests/auto/qprocess/tst_qprocess.cpp
@@ -1868,8 +1868,10 @@ void tst_QProcess::setProcessEnvironment_data()
void tst_QProcess::setProcessEnvironment()
{
-#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());
QVERIFY(!qgetenv("PATH").isEmpty());
@@ -1899,7 +1901,6 @@ void tst_QProcess::setProcessEnvironment()
QCOMPARE(process.readAll(), value.toLocal8Bit());
}
-#endif
}
//-----------------------------------------------------------------------------
void tst_QProcess::systemEnvironment()