comparison tests/test-check-sdist.t @ 6862:203ca204abbf stable

tests: further relax the number of files check in test-check-sdist.t A previous patch bumped this number due to a different version of setuptools or distutils or some other package that we don't control, which made it pretty obvious that this check is not really practical. We need a better way to check that all needed files are present in the tarball. I have some ideas, but this patch can be applied without further waiting, and it'll already bring the benefit of not annoying developers or contributors while at the same time still keeping the test somewhat useful.
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 16 Sep 2024 17:22:23 +0400
parents a868f00e8915
children cdd1ffb88dd6
comparison
equal deleted inserted replaced
6861:a868f00e8915 6862:203ca204abbf
36 36
37 $ tar -tzf hg?evolve-*.tar.gz | sed 's|^hg.evolve-[^/]*/||' | sort > files 37 $ tar -tzf hg?evolve-*.tar.gz | sed 's|^hg.evolve-[^/]*/||' | sort > files
38 $ egrep '^tests/test-.*\.(t|py)$' files > test-files 38 $ egrep '^tests/test-.*\.(t|py)$' files > test-files
39 $ egrep -v '^tests/test-.*\.(t|py)$' files > other-files 39 $ egrep -v '^tests/test-.*\.(t|py)$' files > other-files
40 $ wc -l other-files 40 $ wc -l other-files
41 153 other-files 41 ??? other-files (glob)
42 $ wc -l test-files 42 $ wc -l test-files
43 ??? test-files (glob) 43 ??? test-files (glob)
44 $ fgrep debian files 44 $ fgrep debian files
45 tests/test-check-debian.t 45 tests/test-check-debian.t
46 $ fgrep __init__.py files 46 $ fgrep __init__.py files