Permalink
Browse files

bug 564987: buildbot should cope when firefox/plugins doesn't exist. …

…r=catlee
  • Loading branch information...
1 parent 7dcc58c commit 2d5a08737ec3b94e3c422f16a938a21fcf45fecb @mozbhearsum mozbhearsum committed May 13, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 steps/unittest.py
View
@@ -447,7 +447,8 @@ def __init__(self, symbols_path=None, **kwargs):
self.addFactoryArguments(symbols_path=symbols_path)
- script = """cp bin/xpcshell %(exedir)s
+ script = """if [ ! -d %(exedir)s/plugins ]; then mkdir %(exedir)s/plugins; fi
+cp bin/xpcshell %(exedir)s
cp -R bin/components/* %(exedir)s/components/
cp -R bin/plugins/* %(exedir)s/plugins/
python -u xpcshell/runxpcshelltests.py""".replace("\n", " && ")

0 comments on commit 2d5a087

Please sign in to comment.