Skip to content

Commit 5ae6123

Browse files
committed
Fixed ctest.cmake
* renamed mytest/(NH4)2SO4_101.sel -> mytest/NH4_2_SO4_101.sel * added parallel testing
1 parent 9f26079 commit 5ae6123

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

ctest.cmake

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@ ctest_start("Continuous")
2020
ctest_update()
2121
ctest_configure(OPTIONS -DPHRQC_TESTING:BOOL=ON)
2222
ctest_build()
23-
ctest_test()
23+
if(${CMAKE_VERSION} VERSION_LESS "3.29")
24+
ctest_test(PARALLEL_LEVEL 2)
25+
else()
26+
ctest_test(PARALLEL_LEVEL)
27+
endif()
2428
ctest_submit()

mytest/NH4_2_SO4

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#PRINT; -reset false
33
database ../database/Amm.dat
44
SELECTED_OUTPUT 101
5-
-file NH4_2SO4_101.sel
5+
-file NH4_2_SO4_101.sel
66
USER_PUNCH 101
77
-headings Mu SC
88
-start
File renamed without changes.

0 commit comments

Comments
 (0)