From c7a30bf7d8e2b79624925a6f27281a0297217398 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 21 Jan 2015 06:50:56 +0100 Subject: [tests] Refactor CheckTests.py into custom scripts --- test/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 37224d40..6eb9f956 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -47,10 +47,12 @@ if (PYTHONINTERP_FOUND) set_target_properties(check PROPERTIES DEPENDS ${_class}Test_${TestFile_Name}) endforeach() - set(_class CheckTests) - add_test(NAME ${_class} - COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/${_class}.py - --ledger $ --source ${PROJECT_SOURCE_DIR}) + list(APPEND CheckOptions CheckManpage CheckTexinfo CheckBaselineTests) + foreach(_class ${CheckOptions}) + add_test(NAME ${_class} + COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/${_class}.py + --ledger $ --source ${PROJECT_SOURCE_DIR}) + endforeach() endif() ### CMakeLists.txt ends here -- cgit v1.2.3