Index: test/fuzzer/testcfg.py |
diff --git a/test/fuzzer/testcfg.py b/test/fuzzer/testcfg.py |
index 1ea93220bd92070469c83b1808d69262819f6b2d..b8c26d053eddae42064ff70b111898a72f2cc164 100644 |
--- a/test/fuzzer/testcfg.py |
+++ b/test/fuzzer/testcfg.py |
@@ -8,6 +8,15 @@ from testrunner.local import testsuite |
from testrunner.objects import testcase |
+class FuzzerVariantGenerator(testsuite.VariantGenerator): |
+ # Only run the fuzzer with standard variant. |
+ def FilterVariantsByTest(self, testcase): |
+ return self.standard_variant |
+ |
+ def GetFlagSets(self, testcase, variant): |
+ return testsuite.FAST_VARIANT_FLAGS[variant] |
+ |
+ |
class FuzzerTestSuite(testsuite.TestSuite): |
SUB_TESTS = ( 'parser', 'regexp', ) |
@@ -31,6 +40,9 @@ class FuzzerTestSuite(testsuite.TestSuite): |
suite, name = testcase.path.split('/') |
return [os.path.join(self.root, suite, name)] |
+ def _VariantGeneratorFactory(self): |
+ return FuzzerVariantGenerator |
+ |
def GetSuite(name, root): |
return FuzzerTestSuite(name, root) |