Patchwork D9607: hghave: add some official category for known-bad and missing-good output

login
register
mail settings
Submitter phabricator
Date Dec. 15, 2020, 9:07 a.m.
Message ID <differential-rev-PHID-DREV-nhmk7brcalrvwecvzr7q-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47905/
State Superseded
Headers show

Comments

phabricator - Dec. 15, 2020, 9:07 a.m.
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

Patch

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: