Skip to content

Commit

Permalink
response to review: Do not require rmeote host for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed May 15, 2024
1 parent 44af171 commit 7b5e839
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
15 changes: 0 additions & 15 deletions t/rose-task-run/45-app-fcm-make-compat_mode.t
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@
#-------------------------------------------------------------------------------
. "$(dirname "$0")/test_header"

if ! fcm help make 1>/dev/null 2>&1; then
skip_all '"fcm make" unavailable'
fi
if ! gfortran --version 1>/dev/null 2>&1; then
skip_all '"gfortran" unavailable'
fi
JOB_HOST="$(rose config --default= 't' 'job-host')"
if [[ -n "${JOB_HOST}" ]]; then
JOB_HOST="$(rose host-select -q "${JOB_HOST}")"
fi
if [[ -z "${JOB_HOST}" ]]; then
skip_all '"[t]job-host" not defined or not available'
fi

tests 2
export ROSE_CONF_PATH=
get_reg
Expand All @@ -46,7 +32,6 @@ run_pass "${TEST_KEY_BASE}-install" \
cylc install \
--workflow-name="${FLOW}" \
--no-run-name \
-S "HOST='${JOB_HOST}'" \
"${TEST_SOURCE_DIR}/${TEST_KEY_BASE}"

run_pass "${TEST_KEY_BASE}-play" \
Expand Down
2 changes: 0 additions & 2 deletions t/rose-task-run/45-app-fcm-make-compat_mode/suite.rc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@
script = rose task-run --app-key=make --new
[[hello-make-bin]]
script = rose task-run --app-key=make
[[[remote]]]
host = {{HOST}}
[[fin]]

0 comments on commit 7b5e839

Please sign in to comment.