Lines Matching +full:run +full:- +full:unittests
20 def run(self): member in clean
21 _clean.run(self)
31 't[0-9]*Lexer.py', 't[0-9]*Parser.py',
35 for path in ('antlr3', 'unittests', 'tests'):
60 # grml.. the class name appears in the --help output:
66 """Run unit tests for package"""
68 description = "run unit tests for package"
71 ('xml-output=', None,
82 def run(self): member in unittest
83 testDir = os.path.join(os.path.dirname(__file__), 'unittests')
86 "There is not 'unittests' directory. Did you fetch the "
99 # collect tests from all unittests/test*.py files
106 testID = os.path.basename(testPath)[:-3]
134 result = runner.run(suite)
151 """Run functional tests for package"""
153 description = "run functional tests for package"
157 "testcase to run [default: run all]"),
158 ('antlr-version=', None,
160 ('antlr-jar=', None,
161 "Explicit path to an antlr jar (overrides --antlr-version)"),
162 ('xml-output=', None,
177 def run(self): member in functest
207 'antlr-%s.jar' % self.antlr_version)
211 os.path.join(rootDir, 'lib', 'antlr-2.7.7.jar'),
212 os.path.join(rootDir, 'lib', 'stringtemplate-3.2.1.jar'),
213 os.path.join(rootDir, 'lib', 'ST-4.0.2.jar'),
214 os.path.join(rootDir, 'lib', 'junit-4.2.jar')
225 test_glob = 't[0-9][0-9][0-9]*.py'
233 and not os.path.basename(testPath)[:-3].startswith(self.testcase)):
240 testID = os.path.basename(testPath)[:-3]
266 result = runner.run(suite)