view tests/test-check-setup-manifest.t @ 5650:56eb528820d7 stable

tests: require repo in test-check-debian.t When installed with pip/setup.py, the installation lacks debian/ directory, so the test was always failing. We could check the existence of the directory manually, but I think it makes more sense (and is easier) to just require running this test while having the whole repo. This way we (who can do something about it) can see if there are debian-related problems, and users (who can't) don't, regardless of the way they obtained evolve.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 11 Nov 2020 18:56:37 +0800
parents f2139537c2be
children ccde78088d0b
line wrap: on
line source

#require test-repo check-manifest

  $ cat << EOF >> $HGRCPATH
  > [experimental]
  > evolution=all
  > EOF

Run check manifest:

  $ cd $TESTDIR/..
  $ check-manifest
  lists of files in version control and sdist match