diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2023-12-05 22:27:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-05 22:27:15 +0000 |
commit | 1ab0add0afbd91624133141158349c3551c42a93 (patch) | |
tree | 8d2773b2b51bfdd5713651c7f71a57d98eafca54 /test/CMakeLists.txt | |
parent | 14db8c8f10377607c85a7fe449af8001a64f088e (diff) | |
parent | cf8fd54ebb5b043e20044224d3f2ad6ddc896e2f (diff) | |
download | fork-ledger-1ab0add0afbd91624133141158349c3551c42a93.tar.gz fork-ledger-1ab0add0afbd91624133141158349c3551c42a93.tar.bz2 fork-ledger-1ab0add0afbd91624133141158349c3551c42a93.zip |
Merge pull request #2310 from afh/remove-py2-tests
test: Remove Python2 specific tests
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 301959db..30ee993f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -19,15 +19,7 @@ macro(add_ledger_harness_tests _class) file(GLOB ${_class}_TESTS *.test) foreach(TestFile ${${_class}_TESTS}) get_filename_component(TestFile_Name ${TestFile} NAME_WE) - string(FIND ${TestFile_Name} "_py" TestFile_IsPythonTest) - if ((TestFile_IsPythonTest GREATER -1)) - get_filename_component(TestFile_FullName ${TestFile} NAME) - string(FIND ${TestFile_FullName} "_py.test" TestFile_IsAnyPythonTest) - string(FIND ${TestFile_FullName} "_py${Python_VERSION_MAJOR}.test" TestFile_IsThisPythonTest) - if ((TestFile_IsAnyPythonTest EQUAL -1) AND (TestFile_IsThisPythonTest EQUAL -1)) - continue() - endif() - endif() + string(FIND ${TestFile_Name} "_py.test" TestFile_IsPythonTest) if ((TestFile_IsPythonTest EQUAL -1) OR HAVE_BOOST_PYTHON) add_test(NAME ${_class}Test_${TestFile_Name} COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/RegressTests.py |