changeset 37127:0e06d8086295

cbor: fix core test-check* This patch fixes couple of test-check* tests by making sure they skip testing the third party library cbor. Differential Revision: https://phab.mercurial-scm.org/D2751
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 26 Mar 2018 08:32:21 -0700
parents 4bd73a955ab0
children 1236beb5d150
files tests/test-check-py3-compat.t tests/test-check-pyflakes.t
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t	Mon Mar 26 08:33:57 2018 -0700
+++ b/tests/test-check-py3-compat.t	Mon Mar 26 08:32:21 2018 -0700
@@ -5,6 +5,7 @@
 
   $ testrepohg files 'set:(**.py)' \
   > -X hgdemandimport/demandimportpy2.py \
+  > -X mercurial/thirdparty/cbor \
   > | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py
   contrib/python-zstandard/setup.py not using absolute_import
   contrib/python-zstandard/setup_zstd.py not using absolute_import
--- a/tests/test-check-pyflakes.t	Mon Mar 26 08:33:57 2018 -0700
+++ b/tests/test-check-pyflakes.t	Mon Mar 26 08:32:21 2018 -0700
@@ -16,6 +16,7 @@
   $ testrepohg locate 'set:**.py or grep("^#!.*python")' \
   > -X hgext/fsmonitor/pywatchman \
   > -X mercurial/pycompat.py -X contrib/python-zstandard \
+  > -X mercurial/thirdparty/cbor \
   > 2>/dev/null \
   > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"