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

This commit is contained in:
Xiang Zhang 2016-12-19 22:00:22 +08:00
commit 772bf2ed83
4 changed files with 7 additions and 2 deletions

View file

@ -226,6 +226,8 @@ class ParseArgsTestCase(unittest.TestCase):
self.checkError([opt, 'foo'], 'invalid int value')
self.checkError([opt, '2', '-T'], "don't go together")
self.checkError([opt, '2', '-l'], "don't go together")
self.checkError([opt, '0', '-T'], "don't go together")
self.checkError([opt, '0', '-l'], "don't go together")
def test_coverage(self):
for opt in '-T', '--coverage':