Issue #28950: Disallow -j0 combined with -T/-l/-M in regrtest.

This commit is contained in:
Xiang Zhang 2016-12-19 21:01:33 +08:00
parent 509476b370
commit 270a21fda0
3 changed files with 9 additions and 3 deletions

View file

@ -200,6 +200,9 @@ class ParseArgsTestCase(unittest.TestCase):
self.checkError([opt, '2', '-T'], "don't go together")
self.checkError([opt, '2', '-l'], "don't go together")
self.checkError([opt, '2', '-M', '4G'], "don't go together")
self.checkError([opt, '0', '-T'], "don't go together")
self.checkError([opt, '0', '-l'], "don't go together")
self.checkError([opt, '0', '-M', '4G'], "don't go together")
def test_coverage(self):
for opt in '-T', '--coverage':