changeset 2116:39d84b395343

checks: add a test that check MANIFEST.in content This make sure we keep the things updated.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Tue, 14 Mar 2017 15:50:43 -0700
parents 53fe0a1c9d4c
children e9d5f54765a2
files tests/test-check-setup-manifest.t
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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