Lines Matching +full:run +full:- +full:unittests
26 def run(self): member in clean
27 _clean.run(self)
37 't[0-9]*Lexer.py', 't[0-9]*Parser.py',
41 for path in ('antlr3', 'unittests', 'tests'):
66 # grml.. the class name appears in the --help output:
72 """Run unit tests for package"""
74 description = "run unit tests for package"
85 def run(self): member in unittest
86 testDir = os.path.join(os.path.dirname(__file__), 'unittests')
89 "There is no 'unittests' directory. Did you fetch the "
102 # collect tests from all unittests/test*.py files
109 testID = os.path.basename(testPath)[:-3]
132 result = runner.run(suite)
149 """Run functional tests for package"""
151 description = "run functional tests for package"
155 "testcase to run [default: run all]"),
156 ('antlr-version=', None,
158 ('antlr-jar=', None,
159 "Explicit path to an antlr jar (overrides --antlr-version)"),
172 def run(self): member in functest
202 'antlr-{}.jar'.format(self.antlr_version))
206 os.path.join(rootDir, 'lib', 'antlr-3.4.1-SNAPSHOT.jar'),
207 os.path.join(rootDir, 'lib', 'antlr-runtime-3.4.jar'),
208 os.path.join(rootDir, 'lib', 'ST-4.0.5.jar'),
219 test_glob = 't[0-9][0-9][0-9]*.py'
227 and not os.path.basename(testPath)[:-3].startswith(self.testcase)):
234 testID = os.path.basename(testPath)[:-3]
255 result = runner.run(suite)