Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Another bustage fix for the XPC shell tests. r=bustage
Browse files Browse the repository at this point in the history
  • Loading branch information
bhearsum committed Jul 13, 2010
1 parent 24a61c7 commit 0c1f4e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions steps/unittest.py
Expand Up @@ -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
Expand Down

0 comments on commit 0c1f4e1

Please sign in to comment.