Mercurial > evolve
view tests/test-check-debian.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 | 175bb63ba111 |
children |
line wrap: on
line source
#require test-repo 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"