Skip to content

Commit d3fc77e

Browse files
fix: remove testing of math algorithms twice
1 parent 67651e4 commit d3fc77e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

math/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ foreach(testsourcefile ${APP_SOURCES})
88
# I used a simple string replace, to cut off .cpp.
99
string(REPLACE ".cpp" "" testname ${testsourcefile})
1010
add_executable(${testname} ${testsourcefile})
11-
add_test(NAME ${testname} COMMAND ${testname})
1211
set_target_properties(${testname} PROPERTIES LINKER_LANGUAGE CXX)
1312
if(OpenMP_CXX_FOUND)
1413
target_link_libraries(${testname} OpenMP::OpenMP_CXX)
1514
endif()
16-
add_test(${testname}_test ${testname})
15+
add_test(${testname} ${testname})
1716
install(TARGETS ${testname} DESTINATION "bin/math")
1817

1918
endforeach(testsourcefile ${APP_SOURCES})

0 commit comments

Comments
 (0)