tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages)
authorKyle Lippincott <spectral@google.com>
Sun, 01 Oct 2017 04:37:56 -0700
changeset 34400 3d936da4f97b
parent 34399 200eadbcf0b0
child 34401 13d3f8aaed87
tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages) Differential Revision: https://phab.mercurial-scm.org/D878
tests/test-debian-packages.t
--- a/tests/test-debian-packages.t	Sun Oct 01 04:10:01 2017 -0700
+++ b/tests/test-debian-packages.t	Sun Oct 01 04:37:56 2017 -0700
@@ -12,12 +12,12 @@
   $ cd "$TESTDIR"/..
   $ make deb > $OUTPUTDIR/build.log 2>&1
   $ cd $OUTPUTDIR
-  $ ls *.deb
+  $ ls *.deb | grep -v 'dbg'
   mercurial-common_*.deb (glob)
   mercurial_*.deb (glob)
 main deb should have .so but no .py
   $ dpkg --contents mercurial_*.deb | egrep '(localrepo|parsers)'
-  * ./usr/lib/python2.7/dist-packages/mercurial/parsers*.so (glob)
+  * ./usr/lib/python2.7/dist-packages/mercurial/cext/parsers*.so (glob)
 mercurial-common should have py but no .so or pyc
-  $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers)'
+  $ dpkg --contents mercurial-common_*.deb | egrep '(localrepo|parsers.*so)'
   * ./usr/lib/python2.7/dist-packages/mercurial/localrepo.py (glob)