All tests using GUI aren't shown if the host machine has xvfb installed.
Unwanted graphical output from tests are redirected to a fake X server on Unix system. This depends on the presence of the Xvfb server. Reviewed by Hugo Parente <hugo.lima@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
8ea5127ccb
commit
2b21d79f54
2 changed files with 8 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ macro(PYSIDE_TEST)
|
|||
else()
|
||||
message(WARNING "Ivalid call of macro PYSIDE_TEST")
|
||||
endif()
|
||||
set(TEST_CMD ${CMAKE_SOURCE_DIR}/tests/run_test.sh ${libpyside_BINARY_DIR} "${CMAKE_BINARY_DIR}:${CMAKE_SOURCE_DIR}/tests/util" ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}")
|
||||
set(TEST_CMD ${XVFB_EXEC} ${CMAKE_SOURCE_DIR}/tests/run_test.sh ${libpyside_BINARY_DIR} "${CMAKE_BINARY_DIR}:${CMAKE_SOURCE_DIR}/tests/util" ${PYTHON_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}")
|
||||
add_test(${TEST_NAME} ${TEST_CMD})
|
||||
set_tests_properties(${TEST_NAME} PROPERTIES
|
||||
TIMEOUT ${CTEST_TESTING_TIMEOUT}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue