MCPcopy Create free account
hub / github.com/nodejs/node / StandardTestRunner

Class StandardTestRunner

deps/v8/tools/testrunner/standard_runner.py:69–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 '--stress-compaction-random']
68
69class StandardTestRunner(base_runner.BaseTestRunner):
70 def __init__(self, *args, **kwargs):
71 super(StandardTestRunner, self).__init__(*args, **kwargs)
72
73 self.sancov_dir = None
74 self._variants = None
75
76 @property
77 def default_framework_name(self):
78 return 'standard_runner'
79
80 def _get_default_suite_names(self):
81 return ['default']
82
83 def _add_parser_options(self, parser):
84 parser.add_option('--novfp3',
85 help='Indicates that V8 was compiled without VFP3'
86 ' support',
87 default=False, action='store_true')
88
89 # Variants
90 parser.add_option('--no-variants', '--novariants',
91 help='Deprecated. '
92 'Equivalent to passing --variants=default',
93 default=False, dest='no_variants', action='store_true')
94 parser.add_option(
95 '--variants',
96 help='Comma-separated list of testing variants;'
97 ' default: "%s"' % ','.join(ALL_VARIANTS))
98 parser.add_option('--exhaustive-variants',
99 default=False, action='store_true',
100 help='Deprecated. '
101 'Equivalent to passing --variants=exhaustive')
102
103 # Filters
104 parser.add_option('--slow-tests', default='dontcare',
105 help='Regard slow tests (run|skip|dontcare)')
106 parser.add_option('--pass-fail-tests', default='dontcare',
107 help='Regard pass|fail tests (run|skip|dontcare)')
108 parser.add_option('--quickcheck', default=False, action='store_true',
109 help=('Quick check mode (skip slow tests)'))
110
111 # Stress modes
112 parser.add_option('--gc-stress',
113 help='Switch on GC stress mode',
114 default=False, action='store_true')
115 parser.add_option('--random-gc-stress',
116 help='Switch on random GC stress mode',
117 default=False, action='store_true')
118 parser.add_option('--random-seed-stress-count', default=1, type='int',
119 dest='random_seed_stress_count',
120 help='Number of runs with different random seeds. Only '
121 'with test processors: 0 means infinite '
122 'generation.')
123
124 # Extra features.
125 parser.add_option('--max-heavy-tests', default=1, type='int',
126 help='Maximum number of heavy tests run in parallel')

Callers 1

standard_runner.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected