Skip to content

Commit 7c7a915

Browse files
test: make math directory testable
1 parent 901f231 commit 7c7a915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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-
11+
add_test(NAME ${testname} COMMAND ${testname})
1212
set_target_properties(${testname} PROPERTIES LINKER_LANGUAGE CXX)
1313
if(OpenMP_CXX_FOUND)
1414
target_link_libraries(${testname} OpenMP::OpenMP_CXX)

0 commit comments

Comments
 (0)