diff --git a/steps/unittest.py b/steps/unittest.py index b51c7be2..5bcc2b90 100644 --- a/steps/unittest.py +++ b/steps/unittest.py @@ -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", " && ")