Commit b78ac8e9 authored by Jim Fulton's avatar Jim Fulton

Incorporated test runner bug fixes:

- --verbose --progress didn't do what people expected

- --module matched module file paths rather than module dotted names

- Positional arguments weren't handled correctly

Changed the test-runner script, test.py to exclude packages currently
gotten via externals.
parent 181ff9ce
......@@ -47,6 +47,26 @@ else:
sys.path.insert(0, shome)
defaults = '--tests-pattern ^tests$ -v'.split()
defaults += ['-m',
'!^('
'ZConfig'
'|'
'BTrees'
'|'
'persistentThreadedAsync'
'|'
'transaction'
'|'
'ZEO'
'|'
'ZODB'
'|'
'ZopeUndo'
'|'
'zdaemon'
'|'
'zope[.]testing'
')[.]']
if ihome:
ihome = os.path.abspath(ihome)
defaults += ['--path', os.path.join(ihome, 'lib', 'python')]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment