X-Git-Url: https://git.arvados.org/arvados-dev.git/blobdiff_plain/5060bf0df9927f1c4c20640db5d956692818f3cc..27d5f6ed785b6e127cf9a2f1145fac21627a9a89:/jenkins/run-tests.sh diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh index 412aac0..40a6daa 100755 --- a/jenkins/run-tests.sh +++ b/jenkins/run-tests.sh @@ -21,7 +21,7 @@ Options: WORKSPACE=path Arvados source tree to test. CONFIGSRC=path Dir with api server config files to copy into source tree. (If none given, leave config files alone in source tree.) -apiserver_test="TEST=test/functional/arvados/v1/collections_test.rb" +apiserver_test="TEST=test/functional/arvados/v1/collections_controller_test.rb" Restrict apiserver tests to the given file python_sdk_test="--test-suite test.test_keep_locator" Restrict Python SDK tests to the given class @@ -147,7 +147,7 @@ do leave_temp[GEMHOME]=1 ;; *=*) - eval $(echo $arg | cut -d= -f1)=\"$(echo $arg | cut -d= -f2-)\" + eval export $(echo $arg | cut -d= -f1)=\"$(echo $arg | cut -d= -f2-)\" ;; *) echo >&2 "$0: Unrecognized option: '$arg'. Try: $0 --help" @@ -165,6 +165,10 @@ if [[ -z "$CONFIGSRC" ]] && [[ -d "$HOME/arvados-api-server" ]]; then CONFIGSRC="$HOME/arvados-api-server" fi +# Clean up .pyc files that may exist in the workspace +cd "$WORKSPACE" +find -name '*.pyc' -delete + # Set up temporary install dirs (unless existing dirs were supplied) for tmpdir in VENVDIR GOPATH GEMHOME do @@ -337,6 +341,7 @@ do_install apiserver declare -a gostuff gostuff=( + services/crunchstat services/keepstore services/keepproxy sdk/go/arvadosclient