aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/test_generator/run_test.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/test_generator/run_test.cmake')
-rw-r--r--sources/shiboken2/tests/test_generator/run_test.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/sources/shiboken2/tests/test_generator/run_test.cmake b/sources/shiboken2/tests/test_generator/run_test.cmake
deleted file mode 100644
index 34a821d80..000000000
--- a/sources/shiboken2/tests/test_generator/run_test.cmake
+++ /dev/null
@@ -1,11 +0,0 @@
-# The tests are run through this script due to a limitation
-# on versions of CMake lesser than 2.8, that prevent setting
-# environment variables for tests from working.
-
-set(ENV{PATH} "${ENV_PATH}")
-set(ENV{QT_PLUGIN_PATH} "${ENV_QT_PLUGIN_PATH}")
-execute_process(COMMAND ${TEST} WORKING_DIRECTORY "${WORKDIR}" RESULT_VARIABLE OK)
-
-if(NOT OK EQUAL 0)
- message(SEND_ERROR "${TEST} failed!")
-endif()