Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: test/fuzzer/testcfg.py

Issue 1660463002: [regexp, fuzzer] improve regexp fuzzer coverage. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revert test cases Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/fuzzer/regexp.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « test/fuzzer/regexp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698