From 2c0cf2e0c933b16a107cc29451ad92d3a48bb481 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Tue, 5 Dec 2023 12:08:15 +0100 Subject: tests: Modernize test scripts by using argparse and pathlib and removing Python 2 specific code. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 301959db..559c757a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -31,7 +31,7 @@ macro(add_ledger_harness_tests _class) 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 - $ ${PROJECT_SOURCE_DIR} + --ledger $ --sourcepath ${PROJECT_SOURCE_DIR} ${TestFile} ${TEST_PYTHON_FLAGS}) set_tests_properties(${_class}Test_${TestFile_Name} PROPERTIES ENVIRONMENT "TZ=${Ledger_TEST_TIMEZONE}") -- cgit v1.2.3