Bug 1431753 - Fix condition when verification and per-test coverage are not enabled. r=me
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Thu, 19 Apr 2018 23:56:50 +0200
changeset 468235 0953370890fa93c929890fddb2751e8277b79120
parent 468234 c10c705a1feae70c507bb644dcf2867cbe63db6f
child 468236 d6cbfda78737876618f2a855df465dd5aa711139
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1431753
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1431753 - Fix condition when verification and per-test coverage are not enabled. r=me
testing/mozharness/scripts/android_emulator_unittest.py
--- a/testing/mozharness/scripts/android_emulator_unittest.py
+++ b/testing/mozharness/scripts/android_emulator_unittest.py
@@ -468,17 +468,17 @@ class AndroidEmulatorTest(TestingMixin, 
         else:
             if self.this_chunk is not None:
                 cmd.extend(['--this-chunk', self.this_chunk])
             if self.total_chunks is not None:
                 cmd.extend(['--total-chunks', self.total_chunks])
 
         try_options, try_tests = self.try_args(self.test_suite)
         cmd.extend(try_options)
-        if self.verify_enabled or self.per_test_coverage:
+        if not self.verify_enabled and not self.per_test_coverage:
             cmd.extend(self.query_tests_args(
                 self.config["suite_definitions"][self.test_suite].get("tests"),
                 None,
                 try_tests))
 
         return cmd
 
     def _get_repo_url(self, path):