Bug 946753 - Marionette doesn't report error if the test script in manifest is missing. r=jgriffin, a=test-only
authorEdgar Chen <echen@mozilla.com>
Mon, 16 Dec 2013 15:53:02 -0500
changeset 174336 c20bad2481e21c77042e111c34a27b6b4d1d070d
parent 174335 3ee6df0cdc828a7f63d0e937f36a95dad68c7b00
child 174337 aa3cec88b9909c1a278f8461ca80ffd524df414b
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin, test-only
bugs946753
milestone28.0a2
Bug 946753 - Marionette doesn't report error if the test script in manifest is missing. r=jgriffin, a=test-only
testing/marionette/client/marionette/runtests.py
--- a/testing/marionette/client/marionette/runtests.py
+++ b/testing/marionette/client/marionette/runtests.py
@@ -611,18 +611,19 @@ class MarionetteTestRunner(object):
 
         testloader = unittest.TestLoader()
         suite = unittest.TestSuite()
 
         if file_ext == '.ini':
             manifest = TestManifest()
             manifest.read(filepath)
 
-            all_tests = manifest.active_tests(disabled=False)
-            manifest_tests = manifest.active_tests(disabled=False,
+            all_tests = manifest.active_tests(exists=False, disabled=False)
+            manifest_tests = manifest.active_tests(exists=False,
+                                                   disabled=False,
                                                    device=self.device,
                                                    app=self.appName)
             skip_tests = list(set([x['path'] for x in all_tests]) -
                               set([x['path'] for x in manifest_tests]))
             for skipped in skip_tests:
                 self.logger.info('TEST-SKIP | %s | device=%s, app=%s' %
                                  (os.path.basename(skipped),
                                   self.device,