diff options
-rwxr-xr-x | share/spack/qa/run-docker-tests | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/share/spack/qa/run-docker-tests b/share/spack/qa/run-docker-tests index 9030d8169c..6e7469e178 100755 --- a/share/spack/qa/run-docker-tests +++ b/share/spack/qa/run-docker-tests @@ -32,8 +32,11 @@ ensure_docker_login() { return $__login_success } +this_dir=$(cd $(dirname $0) && pwd) +SPACK_BIN="${this_dir}/../../../bin/spack" + # packages.spack.io service -spack list --format version_json > packages.json +${SPACK_BIN} list --format version_json > packages.json ./share/spack/packages/build-image.sh if [ "$TEST_SUITE" '=' "docker" -a \ "$TRAVIS_EVENT_TYPE" != "pull_request" ] && ensure_docker_login ; then |