зеркало из https://github.com/mozilla/pjs.git
Bug 717684 - Robocop: better diagnostics when TEST_PATH incorrect; r=jmaher
This commit is contained in:
Родитель
7a6b4e42a5
Коммит
7ee7492b26
|
@ -401,6 +401,7 @@ def main():
|
|||
dm.checkCmd(["install", "-r", os.path.join(options.robocopPath, "robocop.apk")])
|
||||
|
||||
appname = options.app
|
||||
retVal = None
|
||||
for test in robocop_tests:
|
||||
if options.testPath and options.testPath != test['name']:
|
||||
continue
|
||||
|
@ -421,6 +422,9 @@ def main():
|
|||
except:
|
||||
pass
|
||||
sys.exit(1)
|
||||
if retVal is None:
|
||||
print "No tests run. Did you pass an invalid TEST_PATH?"
|
||||
retVal = 1
|
||||
else:
|
||||
try:
|
||||
retVal = mochitest.runTests(options)
|
||||
|
|
Загрузка…
Ссылка в новой задаче