зеркало из https://github.com/mozilla/gecko-dev.git
Bug 717684 - Robocop: better diagnostics when TEST_PATH incorrect; r=jmaher
This commit is contained in:
Родитель
e5c521c86d
Коммит
37c895f598
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче