Skip to content

Commit

Permalink
Fixed ctest.cmake
Browse files Browse the repository at this point in the history
* renamed mytest/(NH4)2SO4_101.sel -> mytest/NH4_2_SO4_101.sel
* added parallel testing
  • Loading branch information
scharlton2 committed Apr 11, 2024
1 parent 9f26079 commit 5ae6123
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ctest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@ ctest_start("Continuous")
ctest_update()
ctest_configure(OPTIONS -DPHRQC_TESTING:BOOL=ON)
ctest_build()
ctest_test()
if(${CMAKE_VERSION} VERSION_LESS "3.29")
ctest_test(PARALLEL_LEVEL 2)
else()
ctest_test(PARALLEL_LEVEL)
endif()
ctest_submit()
2 changes: 1 addition & 1 deletion mytest/NH4_2_SO4
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#PRINT; -reset false
database ../database/Amm.dat
SELECTED_OUTPUT 101
-file NH4_2SO4_101.sel
-file NH4_2_SO4_101.sel
USER_PUNCH 101
-headings Mu SC
-start
Expand Down
File renamed without changes.

0 comments on commit 5ae6123

Please # to comment.