Mercurial > evolve
changeset 5799:fe9f9e528a42
tests: make test-check-sdist.t less flaky by first archiving the repo
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 18 Feb 2021 07:39:38 +0800 |
parents | c84924d6df35 |
children | 668817e8c007 |
files | tests/test-check-sdist.t |
diffstat | 1 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-sdist.t Mon Feb 22 15:34:15 2021 -0800 +++ b/tests/test-check-sdist.t Thu Feb 18 07:39:38 2021 +0800 @@ -1,5 +1,3 @@ -#require test-repo - Enable obsolescence to avoid the warning issue when obsmarkers are found $ cat << EOF >> "$HGRCPATH" @@ -8,6 +6,16 @@ > EOF $ cd "$TESTDIR"/.. + +Archiving to a separate location to avoid hardlink mess when the repo is shared + +#if test-repo + + $ hg archive "$TESTTMP"/hg-evolve + $ cd "$TESTTMP"/hg-evolve + +#endif + $ "$PYTHON" setup.py sdist --dist-dir "$TESTTMP"/dist > /dev/null */dist.py:*: UserWarning: Unknown distribution option: 'python_requires' (glob) warnings.warn(msg)