##// END OF EJS Templates
util: provide a helper function to estimate RAM size...
util: provide a helper function to estimate RAM size For POSIX systems, it uses sysconf. For Windows, it uses the win32 API directly. Differential Revision: https://phab.mercurial-scm.org/D8644

File last commit:

r43627:7b638d25 stable
r45607:cfe0f491 default
Show More
test-debian-packages.t
30 lines | 1.0 KiB | text/troff | Tads3Lexer
/ tests / test-debian-packages.t
Kyle Lippincott
tests: add "have" check for dpkg builddeps...
r34402 #require test-repo slow debhelper debdeps
Augie Fackler
debian: switch to using debhelper and dh_python2 to build debs...
r26148
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohgenv
timeless
tests: silence test-repo obsolete warning...
r29219
Augie Fackler
debian: switch to using debhelper and dh_python2 to build debs...
r26148 Ensure debuild doesn't run the testsuite, as that could get silly.
$ DEB_BUILD_OPTIONS=nocheck
$ export DEB_BUILD_OPTIONS
Augie Fackler
test-debian-packages: new test for testing construction of debian packages
r26147 $ OUTPUTDIR=`pwd`
$ export OUTPUTDIR
$ cd "$TESTDIR"/..
$ make deb > $OUTPUTDIR/build.log 2>&1
$ cd $OUTPUTDIR
Kyle Lippincott
tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages)...
r34401 $ ls *.deb | grep -v 'dbg'
Augie Fackler
debian: switch to using debhelper and dh_python2 to build debs...
r26148 mercurial_*.deb (glob)
Denis Laxalde
packaging: ship only a single binary Debian package...
r43627 should have .so and .py
Augie Fackler
debian: switch to using debhelper and dh_python2 to build debs...
r26148 $ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)'
Denis Laxalde
packaging: upgrade Debian packaging to build with Python 3...
r43615 * ./usr/lib/python3/dist-packages/mercurial/cext/parsers*.so (glob)
* ./usr/lib/python3/dist-packages/mercurial/localrepo.py (glob)
Denis Laxalde
packaging: ship only a single binary Debian package...
r43627 * ./usr/lib/python3/dist-packages/mercurial/pure/parsers.py (glob)
should have zsh completions
$ dpkg --contents mercurial_*.deb | egrep 'zsh.*[^/]$'
Kyle Lippincott
deb: install zsh completions to /usr/share/zsh/vendor-completions...
r34406 * ./usr/share/zsh/vendor-completions/_hg (glob)
Denis Laxalde
packaging: ship only a single binary Debian package...
r43627 should have chg
Kyle Lippincott
deb: build and install chg...
r34407 $ dpkg --contents mercurial_*.deb | egrep 'chg$'
* ./usr/bin/chg (glob)
chg should come with a man page
$ dpkg --contents mercurial_*.deb | egrep 'man.*chg'
* ./usr/share/man/man1/chg.1.gz (glob)