[test] Limit "unittests" suite to default variant.
authormstarzinger <mstarzinger@chromium.org>
Mon, 27 Apr 2015 08:20:20 +0000 (01:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Apr 2015 08:19:55 +0000 (08:19 +0000)
This changes the unittests suite to be run in only the default variant,
because unit tests are (and should be) written to be independent from
global flags.

R=machenbach@chromium.org

Review URL: https://codereview.chromium.org/1067863007

Cr-Commit-Position: refs/heads/master@{#28054}

tools/testrunner/local/testsuite.py

index 7fea13a..0b38d8c 100644 (file)
@@ -272,5 +272,8 @@ class GoogleTestSuite(TestSuite):
             ["--gtest_print_time=0"] +
             context.mode_flags)
 
+  def VariantFlags(self, testcase, default_flags):
+    return [[]]
+
   def shell(self):
     return self.name