Patchwork D878: tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages)

login
register
mail settings
Submitter phabricator
Date Oct. 1, 2017, 1:33 p.m.
Message ID <05735170bca240237310ae25db8eb122@localhost.localdomain>
Download mbox | patch
Permalink /patch/24345/
State Not Applicable
Headers show

Comments

phabricator - Oct. 1, 2017, 1:33 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3d936da4f97b: tests: expect parsers.so in cext, parsers.py in pure (test-debian-packages) (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D878?vs=2264&id=2282

REVISION DETAIL
  https://phab.mercurial-scm.org/D878

AFFECTED FILES
  tests/test-debian-packages.t

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-debian-packages.t b/tests/test-debian-packages.t
--- a/tests/test-debian-packages.t
+++ b/tests/test-debian-packages.t
@@ -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)