checks: add a test that check MANIFEST.in content
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Tue, 14 Mar 2017 15:50:43 -0700
changeset 2116 39d84b395343
parent 2115 53fe0a1c9d4c
child 2117 e9d5f54765a2
checks: add a test that check MANIFEST.in content This make sure we keep the things updated.
tests/test-check-setup-manifest.t
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-check-setup-manifest.t	Tue Mar 14 15:50:43 2017 -0700
@@ -0,0 +1,19 @@
+#require test-repo
+
+  $ checkcm() {
+  >   if ! (which check-manifest > /dev/null); then
+  >     echo skipped: missing tool: check-manifest;
+  >     exit 80;
+  >   fi;
+  > };
+  $ checkcm
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > evolution=all
+  > EOF
+
+Run check manifest:
+
+  $ cd $TESTDIR/..
+  $ check-manifest
+  lists of files in version control and sdist match