Skip to content

Commit

Permalink
fixed but name of YAML_FILE and permisions to run pytnon script for v…
Browse files Browse the repository at this point in the history
…alicate.py
  • Loading branch information
Terry McGUinness committed Jan 16, 2025
1 parent 3fdedde commit ccd50e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ctests/scripts/stage.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ set -x
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/sorc/wxflow/src"
export PYTHONPATH

INPUTS_YAML="${HOMEgfs}/ctests/cases/${TEST_NAME}.yaml"
YAML_FILE="${HOMEgfs}/ctests/cases/${TEST_NAME}.yaml"

TEST_NAME="${TEST_NAME}" \
RUNTESTS="${RUNTESTS}" \
STAGED_TESTS_DIR="${STAGED_TESTS_DIR}" \
"${HOMEgfs}/ctests/scripts/stage.py" --yaml "${INPUTS_YAML}" --test_date "${TEST_DATE}"
"${HOMEgfs}/ctests/scripts/stage.py" --yaml "${YAML_FILE}" --test_date "${TEST_DATE}"
rc=$?
if [[ "${rc}" -ne 0 ]]; then
set +x
Expand Down
Empty file modified ctests/scripts/validate.py
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion ctests/scripts/validate.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -x
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${HOMEgfs}/sorc/wxflow/src"
export PYTHONPATH

INPUTS_YAML="${HOMEgfs}/ctests/cases/${TEST_NAME}.yaml"
YAML_FILE="${HOMEgfs}/ctests/cases/${TEST_NAME}.yaml"
echo "validating '${TEST_NAME}' with yaml file '${INPUTS_YAML}'"

TEST_NAME="${TEST_NAME}" \
Expand Down

0 comments on commit ccd50e7

Please sign in to comment.