Commit 732fef51 authored by Kohei Yoshida's avatar Kohei Yoshida

Treat individual test files as individual test cases.

parent d0fd7237
Pipeline #45199248 passed with stage
in 4 minutes and 7 seconds
......@@ -34,8 +34,12 @@ file(GLOB PARSER_TEST_FILES ${PROJECT_SOURCE_DIR}/test/*.txt)
add_dependencies(check ixion-parser)
# Register tests for all test files and all thread counts (0-8).
foreach(_I RANGE 8)
add_test(parser-test-t${_I} ${CMAKE_CURRENT_BINARY_DIR}/ixion-parser -t ${_I} ${PARSER_TEST_FILES})
get_filename_component(_TFNAME ${_TESTFILE} NAME_WE)
add_test(parser-test-t${_I}-${_TFNAME} ${CMAKE_CURRENT_BINARY_DIR}/ixion-parser -t ${_I} ${_TESTFILE})
install(TARGETS ixion-parser ixion-sorter ixion-formula-tokenizer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment