aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-07-23 13:48:47 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-07-23 17:31:19 -0300
commit078408b8c25d73b900955b87e92dc50e9b19eb33 (patch)
tree05452cd06aa35c37a65fa659baa6c06ecb01c090 /tests/QtCore
parent3267accc9f8c96371302531fdb8d1c24271cfd44 (diff)
Avoid running x11 specific tests on others OS.
Diffstat (limited to 'tests/QtCore')
-rw-r--r--tests/QtCore/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/QtCore/CMakeLists.txt b/tests/QtCore/CMakeLists.txt
index b5f59d474..518ff9ddf 100644
--- a/tests/QtCore/CMakeLists.txt
+++ b/tests/QtCore/CMakeLists.txt
@@ -21,7 +21,6 @@ PYSIDE_TEST(qevent_test.py)
PYSIDE_TEST(qfileinfo_test.py)
PYSIDE_TEST(qfile_test.py)
PYSIDE_TEST(qflags_test.py)
-PYSIDE_TEST(qhandle_test.py)
PYSIDE_TEST(qinstallmsghandler_test.py)
PYSIDE_TEST(qlinef_test.py)
PYSIDE_TEST(qlocale_test.py)
@@ -62,3 +61,7 @@ PYSIDE_TEST(thread_signals_test.py)
PYSIDE_TEST(translation_test.py)
PYSIDE_TEST(unaryoperator_test.py)
PYSIDE_TEST(unicode_test.py)
+
+if(X11)
+ PYSIDE_TEST(qhandle_test.py)
+endif()