This is an archive of the discontinued Mercurial Phabricator instance.

run-tests: make coverage work out of tree
ClosedPublic

Authored by Kwan on Oct 4 2019, 1:21 PM.

Details

Summary

Currently coverage fails when run on an out-of-tree extension since
run-tests.py tries to load sitecustomize.py from self._testdir, which is the
dir for the extension's tests.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Kwan created this revision.Oct 4 2019, 1:21 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.