]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
regrtest has a new
authorTim Peters <tim.peters@gmail.com>
Sun, 2 Jun 2002 21:42:01 +0000 (21:42 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 2 Jun 2002 21:42:01 +0000 (21:42 +0000)
commitc5000dfc4098f8547461e790a91536a923124261
tree3125b1eb8c5e6e5836b2860b1fcf2e061a03435d
parent69e18af96868cfd1f41bedc4eb494408c9c363f5
regrtest has a new
   -f/--fromfile <filename>
option.  This runs all and only the tests named in the file, in the
order given (although -x may weed that list, and -r may shuffle it).
Lines starting with '#' are ignored.

This goes a long way toward helping to automate the binary-search-like
procedure I keep reinventing by hand when a test fails due to interaction
among tests (no failure in isolation, and some unknown number of
predecessor tests need to run first -- now you can stick all the test
names in a file, and comment/uncomment blocks of lines until finding a
minimal set of predecessors).
Lib/test/regrtest.py