This is an archive of the discontinued Mercurial Phabricator instance.

hghave: split apart testing for the curses module and `tic` executable

Authored by mharbison72 on Jan 18 2021, 1:45 AM.



ef771d329961 skipped the check for the tic executable, because the curses
module alone on Windows is enough to pass the test-*-curses.t tests. However,
test-status-color.t uses this same check and explicitly invoked the
executable, which fails on Windows. From the cursory searching I did, curses on
unix requires tic, which I assume is why they were tied together in the first
place. So this continues to require both to get past the curses guards on non
Windows platforms.

Diff Detail

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