X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3b65c09dc878abf22a04f224ac8496380b307f7c..bdbf7c4ee346fd1615f882255b3606d8d5360710:/build/run-tests.sh diff --git a/build/run-tests.sh b/build/run-tests.sh index 2fb82554a5..96e6aea72c 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -37,7 +37,7 @@ CONFIGSRC=path Dir with api server config files to copy into source tree. (If none given, leave config files alone in source tree.) services/api_test="TEST=test/functional/arvados/v1/collections_controller_test.rb" Restrict apiserver tests to the given file -sdk/python_test="--test-suite test.test_keep_locator" +sdk/python_test="--test-suite tests.test_keep_locator" Restrict Python SDK tests to the given class apps/workbench_test="TEST=test/integration/pipeline_instances_test.rb" Restrict Workbench tests to the given file @@ -76,7 +76,12 @@ lib/cli lib/cmd lib/controller lib/crunchstat +lib/cloud lib/dispatchcloud +lib/dispatchcloud/container +lib/dispatchcloud/scheduler +lib/dispatchcloud/ssh_executor +lib/dispatchcloud/worker services/api services/arv-git-httpd services/crunchstat @@ -523,7 +528,7 @@ setup_virtualenv() { } export PERLINSTALLBASE -export PERLLIB="$PERLINSTALLBASE/lib/perl5:${PERLLIB:+$PERLLIB}" +export PERL5LIB="$PERLINSTALLBASE/lib/perl5${PERL5LIB:+:$PERL5LIB}" export R_LIBS @@ -591,6 +596,7 @@ pythonstuff=( sdk/python sdk/python:py3 sdk/cwl + sdk/cwl:py3 services/dockercleaner:py3 services/fuse services/nodemanager @@ -689,7 +695,7 @@ do_test_once() { # before trying "go test". Otherwise, coverage-reporting # mode makes Go show the wrong line numbers when reporting # compilation errors. - go get -ldflags "-X main.version=${ARVADOS_VERSION:-$(git head)-dev}" -t "git.curoverse.com/arvados.git/$1" && \ + go get -ldflags "-X main.version=${ARVADOS_VERSION:-$(git log -n1 --format=%H)-dev}" -t "git.curoverse.com/arvados.git/$1" && \ cd "$GOPATH/src/git.curoverse.com/arvados.git/$1" && \ [[ -z "$(gofmt -e -d . | tee /dev/stderr)" ]] && \ if [[ -n "${testargs[$1]}" ]] @@ -757,7 +763,7 @@ do_install_once() { timer_reset if [[ "$2" == "go" ]] then - go get -ldflags "-X main.version=${ARVADOS_VERSION:-$(git head)-dev}" -t "git.curoverse.com/arvados.git/$1" + go get -ldflags "-X main.version=${ARVADOS_VERSION:-$(git log -n1 --format=%H)-dev}" -t "git.curoverse.com/arvados.git/$1" elif [[ "$2" == "pip" ]] then # $3 can name a path directory for us to use, including trailing @@ -925,7 +931,12 @@ gostuff=( lib/cmd lib/controller lib/crunchstat + lib/cloud lib/dispatchcloud + lib/dispatchcloud/container + lib/dispatchcloud/scheduler + lib/dispatchcloud/ssh_executor + lib/dispatchcloud/worker sdk/go/arvados sdk/go/arvadosclient sdk/go/auth