Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another bustage fix for the XPC shell tests. r=bustage

  • Loading branch information...
commit 0c1f4e17a1401c77525dec730b1ffd32c5bad69f 1 parent 24a61c7
@bhearsum bhearsum authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 steps/unittest.py
View
10 steps/unittest.py
@@ -450,11 +450,11 @@ def __init__(self, platform, symbols_path=None, **kwargs):
bin_extension = ""
if platform.startswith('win'):
bin_extension = ".exe"
- script = """if [ ! -d %(exedir)s/plugins ]; then mkdir %(exedir)s/plugins; fi
-cp bin/xpcshell%(bin_extension)s %(exedir)s
-cp -R bin/components/* %(exedir)s/components/
-cp -R bin/plugins/* %(exedir)s/plugins/
-python -u xpcshell/runxpcshelltests.py""".replace("\n", " && ")
+ script = " && ".join(["if [ ! -d %(exedir)s/plugins ]; then mkdir %(exedir)s/plugins; fi",
+ "cp bin/xpcshell" + bin_extension + " %(exedir)s",
+ "cp -R bin/components/* %(exedir)s/components/",
+ "cp -R bin/plugins/* %(exedir)s/plugins/",
+ "python -u xpcshell/runxpcshelltests.py"])
if symbols_path:
script += " --symbols-path=%s" % symbols_path
Please sign in to comment.
Something went wrong with that request. Please try again.