A long time ago test.py -s accepted directory names. Later it was changed to take package names instead. There is some backwards-compatibility code that replaces slashes with dots, but it is incomplete: test.py -s src/zope would try to run the tests for a nonexistent package "src.zope".
I have expanded the backwards-compatibility/convenience code in a branch: http://svn.zope.org/zope.testing/branches/filter-by-dirs/?rev=71986&view=rev The test runner has a mapping of directory names to package names, and I use it in reverse to get the package name from the directory name. As a result you can use your shell's directory name completion for the test runner command line, and, for example, test.py -s src/zope now works. I would appreciate it if someone could check out this branch and run its tests on Windows. Marius Gedminas -- The advertisement is the most truthful part of a newspaper. -- Thomas Jefferson
Description: Digital signature
_______________________________________________ Zope3-dev mailing list Zope3email@example.com Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com