From 1fff8ac1b9411a3e6b6810c1bc693a9cddfc72a1 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 2 Jan 2017 23:59:56 +0000 Subject: [PATCH] Remove duplicate tests ECM already sets up tests for all found python versions. --- autotests/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index fe4d7c4..479d61a 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -33,11 +33,3 @@ ecm_add_test(kselectionproxymodel_smoketest.cpp ${proxyModelSmokeTestSources} TEST_NAME "kselectionproxymodel_smoketest" LINK_LIBRARIES KF5::ItemModels Qt5::Test Qt5::Widgets proxymodeltestsuite ) - -if (PythonModuleGeneration_FOUND AND EXISTS ${CMAKE_BINARY_DIR}/prefix/lib/python2.7/dist-packages) - add_test(NAME Py2${name} COMMAND python2 ${pythontest} ${CMAKE_BINARY_DIR}/prefix/lib/python2.7/dist-packages) -endif() - -if (PythonModuleGeneration_FOUND AND EXISTS ${CMAKE_BINARY_DIR}/prefix/lib/python3.5/dist-packages) - add_test(NAME Py3${name} COMMAND python3 ${pythontest} ${CMAKE_BINARY_DIR}/prefix/lib/python3.5/dist-packages) -endif()