From patchwork Tue Dec 15 09:07:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D9607: hghave: add some official category for known-bad and missing-good output From: phabricator X-Patchwork-Id: 47905 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Tue, 15 Dec 2020 09:07:28 +0000 marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This will make it simple to tag output that are expected to changes. A simple hghave integration seems enough but smarter behavior around these seems possible in the future. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D9607 AFFECTED FILES tests/hghave.py CHANGE DETAILS To: marmoute, #hg-reviewers Cc: mercurial-patches, mercurial-devel diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -14,6 +14,8 @@ checks = { "true": (lambda: True, "yak shaving"), "false": (lambda: False, "nail clipper"), + "known-bad-output": (lambda: True, "use for currently known bad output"), + "missing-correct-output": (lambda: False, "use for missing good output"), } try: