[Bug 5050] New: run-tests.py crashes when --json and --blacklist are both used together

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Jan 19 10:12:10 CST 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5050

            Bug ID: 5050
           Summary: run-tests.py crashes when --json and --blacklist are
                    both used together
           Product: Mercurial
           Version: 3.6.3
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: lcharignon at fb.com
                CC: mercurial-devel at selenic.com

I tried to blacklist a test (test-check-execute.t) and ran run-test.py --json.
This causes run-tests.py to crash in the code generating the json:

Traceback (most recent call last):
  File "/home/lcharignon/hg/tests/run-tests.py", line 2375, in <module>
    sys.exit(runner.run(sys.argv[1:]))
  File "/home/lcharignon/hg/tests/run-tests.py", line 1823, in run
    result = self._run(tests)
  File "/home/lcharignon/hg/tests/run-tests.py", line 1986, in _run
    return self._runtests(tests) or 0
  File "/home/lcharignon/hg/tests/run-tests.py", line 2050, in _runtests
    result = runner.run(suite)
  File "/home/lcharignon/hg/tests/run-tests.py", line 1731, in run
    'time': ('%0.3f' % timesd[tc.name][2]),
KeyError: 'test-check-execute.t'

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list