diff tests/test-check-debian.t @ 5405:175bb63ba111

tests: add a test that makes sure version metadata stays in sync
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 04 Jul 2020 18:19:47 +0800
parents
children 56eb528820d7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-check-debian.t	Sat Jul 04 18:19:47 2020 +0800
@@ -0,0 +1,12 @@
+Enable obsolescence to avoid the warning issue when obsmarkers are found
+
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > evolution = all
+  > EOF
+
+  $ "$PYTHON" "$TESTDIR/testlib/check-min-versions.py" \
+  > "$TESTDIR/../hgext3rd/evolve/metadata.py" "$TESTDIR/../debian/control"
+
+  $ "$PYTHON" "$TESTDIR/testlib/check-min-versions.py" \
+  > "$TESTDIR/../hgext3rd/topic/__init__.py" "$TESTDIR/../debian/control"