aboutsummaryrefslogtreecommitdiffstats
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
parent3267accc9f8c96371302531fdb8d1c24271cfd44 (diff)
Avoid running x11 specific tests on others OS.
-rw-r--r--tests/QtCore/CMakeLists.txt5
-rw-r--r--tests/QtGui/CMakeLists.txt6
2 files changed, 9 insertions, 2 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()
diff --git a/tests/QtGui/CMakeLists.txt b/tests/QtGui/CMakeLists.txt
index 5ebd75417..077dd1a9f 100644
--- a/tests/QtGui/CMakeLists.txt
+++ b/tests/QtGui/CMakeLists.txt
@@ -62,4 +62,8 @@ PYSIDE_TEST(timed_app_test.py)
PYSIDE_TEST(virtual_protected_inheritance_test.py)
PYSIDE_TEST(virtual_pure_override_test.py)
PYSIDE_TEST(wrong_return_test.py)
-PYSIDE_TEST(x11_symbols_test.py)
+
+
+if(X11)
+ PYSIDE_TEST(x11_symbols_test.py)
+endif()