Skip to content
Myr

Also support full qualified test names

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 29b7efa · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:run-tests.py+2 added-1 removed
37 unmodified lines
38 return testcase3940 all_tests = []41 for testcase, testname in find_all_tests_with_name():42 if testname.endswith('.' + name) or ('.' + name + '.') in testname:42 if testname.endswith('.' + name) or ('.' + name + '.') in testname or \43 testname.startswith(name + '.'):44 all_tests.append(testcase)4546 if not all_tests:47 print >> sys.stderr, 'Error: could not find test case for "%s"' % name
11 unmodified lines