Skip to content

Commit 88f7762

Browse files
committed
TST: support test selection in the debug script.
The debug.py utility takes optional regular-expression pattern to select specific test cases to be run.
1 parent 6e673c7 commit 88f7762

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: pyobjcryst/tests/debug.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424

2525

2626
if __name__ == '__main__':
27+
import sys
2728
from pyobjcryst.tests import testsuite
28-
suite = testsuite()
29+
pattern = sys.argv[1] if len(sys.argv) > 1 else ''
30+
suite = testsuite(pattern)
2931
suite.debug()
3032

3133

0 commit comments

Comments
 (0)