Skip to content

Commit

Permalink
Again use force-local argument in tar command.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmozmoz committed Jun 23, 2019
1 parent 35150ed commit e3e7692
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions test/executeTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,8 @@ def download_test(self):
"--exclude", "*jit-test*",
"--exclude", "*bin*"
]
logging.debug("unzip tests: %r" %
" ".join(unzip_test_cmd))
try:
subprocess.call(unzip_test_cmd)
except Exception as e:
if platform.system() == 'Windows':
unzip_test_cmd.append("--force-local")
subprocess.call(unzip_test_cmd)
if platform.system() == 'Windows':
unzip_test_cmd.append("--force-local")
else:
unzip_test_cmd = [
"unzip", "-q", "-o",
Expand All @@ -264,9 +258,9 @@ def download_test(self):
"-d", testdir, "-x", "*mochitest*",
"*xpcshell*", "*reftest*", "*jit-test*", "*bin*"
]
logging.debug("unzip tests: %r" %
" ".join(unzip_test_cmd))
subprocess.call(unzip_test_cmd)
logging.debug("unzip tests: %r" % " ".join(unzip_test_cmd))
subprocess.call(unzip_test_cmd)

os.chdir(cur_dir)
# "Link" the add-on tests into the mozmill directory
if platform.system() == "Windows":
Expand Down

0 comments on commit e3e7692

Please sign in to comment.