Skip to content

Commit

Permalink
appended test_gdasapp to marine tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevernieres committed Sep 18, 2024
1 parent f5e71b1 commit 92ab4ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/gw-ci/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Function that generates the 1/2 cycle forecast and DA tasks
function(add_cycling_tests pslot YAML_PATH HOMEgfs RUNTESTS PROJECT_SOURCE_DIR TASK_LIST)
# Prepare the COMROOT and EXPDIR for the cycling ctests
add_test(NAME ${pslot}
add_test(NAME test_gdasapp_${pslot}
COMMAND /bin/bash -c "${PROJECT_SOURCE_DIR}/test/gw-ci/create_exp.sh ${YAML_PATH} ${pslot} ${HOMEgfs} ${RUNTESTS}"
WORKING_DIRECTORY ${RUNTESTS})
set_tests_properties(${pslot} PROPERTIES LABELS "manual")
Expand All @@ -19,14 +19,14 @@ function(add_cycling_tests pslot YAML_PATH HOMEgfs RUNTESTS PROJECT_SOURCE_DIR T

# stage IC's
message(STATUS "staging the 1/2 cycle IC's for ${pslot} ctest")
add_test(NAME ${pslot}_gdasstage_ic_${HALF_CYCLE}
add_test(NAME test_gdasapp_${pslot}_gdasstage_ic_${HALF_CYCLE}
COMMAND /bin/bash -c "${PROJECT_SOURCE_DIR}/test/gw-ci/run_exp.sh ${pslot} gdasstage_ic ${HALF_CYCLE}"
WORKING_DIRECTORY ${RUNTESTS})
set_tests_properties(${pslot}_gdasstage_ic_${HALF_CYCLE} PROPERTIES LABELS "manual")

# 1/2 cycle gdasfcst
message(STATUS "preparing 1/2 cycle gdasfcst for ${pslot} ctest")
add_test(NAME ${pslot}_gdasfcst_${HALF_CYCLE}
add_test(NAME test_gdasapp_${pslot}_gdasfcst_${HALF_CYCLE}
COMMAND /bin/bash -c "${PROJECT_SOURCE_DIR}/test/gw-ci/run_exp.sh ${pslot} gdasfcst_seg0 ${HALF_CYCLE}"
WORKING_DIRECTORY ${RUNTESTS})
set_tests_properties(${pslot}_gdasfcst_${HALF_CYCLE} PROPERTIES LABELS "manual")
Expand All @@ -36,7 +36,7 @@ function(add_cycling_tests pslot YAML_PATH HOMEgfs RUNTESTS PROJECT_SOURCE_DIR T

foreach(task ${TASK_LIST})
message(STATUS "preparing the full cycle ${task} for ${pslot} ctest")
add_test(NAME ${pslot}_${task}_${FULL_CYCLE}
add_test(NAME test_gdasapp_${pslot}_${task}_${FULL_CYCLE}
COMMAND /bin/bash -c "${PROJECT_SOURCE_DIR}/test/gw-ci/run_exp.sh ${pslot} ${task} ${FULL_CYCLE}"
WORKING_DIRECTORY ${RUNTESTS})
set_tests_properties(${pslot}_${task}_${FULL_CYCLE} PROPERTIES LABELS "manual")
Expand Down

0 comments on commit 92ab4ec

Please sign in to comment.