File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -59,17 +59,17 @@ function(add_parallel_test)
5959
6060 add_test (NAME ${_test_name}
6161 COMMAND ${_test_launch} )
62- set_property (TEST ${name }
62+ set_property (TEST ${_test_name }
6363 APPEND
6464 PROPERTY LABELS "MORFEUS" "MORFEUS_FV" "integration-test" )
65- set_property (TEST ${name }
65+ set_property (TEST ${_test_name }
6666 APPEND
6767 PROPERTY PASS_REGULAR_EXPRESSION "[Tt]est [Pp]assed" )
68- set_property (TEST ${name }
68+ set_property (TEST ${_test_name }
6969 APPEND
7070 PROPERTY PROCESSORS ${APT_PROCESSES} )
7171 if (APT_TEST_DIR)
72- set_property (TEST ${name }
72+ set_property (TEST ${_test_name }
7373 APPEND
7474 PROPERTY WORKING_DIRECTORY ${APT_TEST_DIR} )
7575 endif ()
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ endforeach()
1212# NOTE: The CMAKE_MODULE_PATH was modified in the project's top level CMakeLists.txt
1313include (AddParallelTest)
1414
15- # foreach( test_name
16- # fv-test-class_dimensions fv-test-class_vector fv-test-class_keytable fv-test-class_stopwatch fv-test-field-extends-grid )
17- #
18- # add_parallel_test(NAME "${test_name}" # Name is optional
19- # PROCESSES 1 # Processes is optional, will default to 1
20- # SOURCES "${test_name}.f90" # Specify one or more source files. If NAME is missing
21- # LIBS morfeus_fv
22- # )
23- # endforeach()
15+ foreach ( test_name
16+ fv-test -class_dimensions fv-test -class_vector fv-test -class_keytable fv-test -class_stopwatch fv-test -field-extends-grid )
17+
18+ add_parallel_test(NAME "${test_name} " # Name is optional
19+ PROCESSES 1 # Processes is optional, will default to 1
20+ SOURCES "${test_name} .f90" # Specify one or more source files. If NAME is missing
21+ LIBS morfeus_fv
22+ )
23+ endforeach ()
You can’t perform that action at this time.
0 commit comments