diff options
Diffstat (limited to 'deps/v8/tools/testrunner/local/fake_testsuite/testcfg.py')
-rw-r--r-- | deps/v8/tools/testrunner/local/fake_testsuite/testcfg.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/deps/v8/tools/testrunner/local/fake_testsuite/testcfg.py b/deps/v8/tools/testrunner/local/fake_testsuite/testcfg.py new file mode 100644 index 0000000000..61d75fb991 --- /dev/null +++ b/deps/v8/tools/testrunner/local/fake_testsuite/testcfg.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# Copyright 2019 the V8 project authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import sys + +from testrunner.local import testsuite, statusfile + + +class TestSuite(testsuite.TestSuite): + def _test_class(self): + return testsuite.TestCase + + def ListTests(self): + fast = self._create_test("fast") + slow = self._create_test("slow") + slow._statusfile_outcomes.append(statusfile.SLOW) + yield fast + yield slow + +def GetSuite(*args, **kwargs): + return TestSuite(*args, **kwargs) |