Clean up *.pyc files between tests.
authorWard Vandewege <ward@curoverse.com>
Fri, 24 Oct 2014 20:06:47 +0000 (16:06 -0400)
committerWard Vandewege <ward@curoverse.com>
Sat, 25 Oct 2014 02:01:25 +0000 (22:01 -0400)
closes #4313

jenkins/run-tests.sh

index c4c585ff308a16d4ac3ce40bf99dab77d05e2625..93245a677121f94d813af997ab6c1c80f227647f 100755 (executable)
@@ -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