Skip to content

Commit

Permalink
updated path to validate.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Terry McGuinness committed Jan 14, 2025
1 parent f058450 commit eede574
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ctests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scripts/stage.sh.in
${CMAKE_CURRENT_BINARY_DIR}/scripts/stage.sh @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scripts/execute.sh.in
${CMAKE_CURRENT_BINARY_DIR}/scripts/execute.sh @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scripts/validate.sh.in
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/scripts/validate.sh.in
${CMAKE_CURRENT_BINARY_DIR}/scripts/validate.sh @ONLY)

function(AddJJOBTest)
Expand Down Expand Up @@ -94,7 +94,8 @@ function(AddJJOBTest)

# TODO - This is a stub for the validation step
add_test(NAME test_${TEST_NAME}_validate
COMMAND bash -c "${HOMEgfs}/ctests/scripts/validate.sh ${TEST_NAME} ${CASE_YAML}")
COMMAND bash -c ./validate.sh ${TEST_NAME} ${CASE_YAML}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripts)
set_tests_properties(test_${TEST_NAME}_validate PROPERTIES DEPENDS test_${TEST_NAME}_execute LABELS "${ARG_CASE};${ARG_JOB}")
endfunction()

Expand Down

0 comments on commit eede574

Please sign in to comment.