aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-01 16:02:37 +0100
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-11-01 16:02:37 +0100
commit84325968c39d35b1c3833394fef390c0bf58ca67 (patch)
tree49be2f2cca68f2e4bf286906e3400907333d5543 /tests
parentbf5a53e949ffe0ebcf8578a0fc9062f63527dbc9 (diff)
downloadqmenumodel-84325968c39d35b1c3833394fef390c0bf58ca67.tar.gz
qmenumodel-84325968c39d35b1c3833394fef390c0bf58ca67.tar.bz2
qmenumodel-84325968c39d35b1c3833394fef390c0bf58ca67.zip
Uses "QT_QPA_PLATFORM=minimal" to run qt tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/client/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/client/CMakeLists.txt b/tests/client/CMakeLists.txt
index 9209cc8..725289e 100644
--- a/tests/client/CMakeLists.txt
+++ b/tests/client/CMakeLists.txt
@@ -9,14 +9,13 @@ macro(declare_test testname)
)
add_test(${testname}
- ${XVFB_EXEC}
${DBUS_RUNNER}
--task ${CMAKE_CURRENT_BINARY_DIR}/${testname} --task-name Client
--task ${CMAKE_CURRENT_SOURCE_DIR}/script_${testname}.py --task-name Server
--ignore-return)
set_tests_properties(${testname} PROPERTIES
TIMEOUT ${CTEST_TESTING_TIMEOUT}
- ENVIRONMENT "PYTHONPATH=${TEST_PYTHONPATH}")
+ ENVIRONMENT "PYTHONPATH=${TEST_PYTHONPATH};QT_QPA_PLATFORM=minimal")
endmacro(declare_test testname)