maybe all this should be re-done
authorNico Cesar <nico@nicocesar.com>
Thu, 3 Sep 2020 15:05:20 +0000 (11:05 -0400)
committerNico Cesar <nico@nicocesar.com>
Thu, 3 Sep 2020 15:05:20 +0000 (11:05 -0400)
refs #15888

Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico@curii.com>

build/run-tests.sh

index ee4e3c643ca4429bafb2437cc7031789e73bc533..05efdabe9e9fbdf563cc9dbada34c8fbd9001373 100755 (executable)
@@ -643,8 +643,8 @@ install_env() {
     go mod download || fatal "Go deps failed"
     which goimports >/dev/null || go get golang.org/x/tools/cmd/goimports || fatal "Go setup failed"
 
-     . "$VENV3DIR/bin/activate"
     setup_virtualenv "$VENV3DIR"
+    . "$VENV3DIR/bin/activate"
 
     # Needed for run_test_server.py which is used by certain (non-Python) tests.
     (