Patchwork D11285: test-extension: adapt output to pyoxidizer

login
register
mail settings
Submitter phabricator
Date Aug. 17, 2021, 10:58 p.m.
Message ID <differential-rev-PHID-DREV-g7dhjin4sdmdqjbul25p-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49599/
State Superseded
Headers show

Comments

phabricator - Aug. 17, 2021, 10:58 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The traceback use module name instead of filename.
  
  The rest of the test is still on fire for various other reasons. However that
  specific output mismatch is now fixed.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  tests/test-extension.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-extension.t b/tests/test-extension.t
--- a/tests/test-extension.t
+++ b/tests/test-extension.t
@@ -668,7 +668,8 @@ 
 Even though the extension fails during uisetup, hg is still basically usable:
   $ hg --config extensions.baduisetup=$TESTTMP/baduisetup.py version
   Traceback (most recent call last):
-    File "*/mercurial/extensions.py", line *, in _runuisetup (glob)
+    File "*/mercurial/extensions.py", line *, in _runuisetup (glob) (no-pyoxidizer !)
+    File "mercurial.extensions", line *, in _runuisetup (glob) (pyoxidizer !)
       uisetup(ui)
     File "$TESTTMP/baduisetup.py", line 2, in uisetup
       1 / 0