[Commented On] D11284: pyoxidized: adapt test-devel-warnings.t
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Wed Aug 18 11:02:03 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29913.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠
<img src="https://phab.mercurial-scm.org/file/data/p334drn6opgk3ac7exvu/PHID-FILE-h4oskowh6xyt7acp2mxz/source.gif" />
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11284?vs=29893&id=29913
BRANCH
stable
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11284/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11284
AFFECTED FILES
tests/test-devel-warnings.t
CHANGE DETAILS
diff --git a/tests/test-devel-warnings.t b/tests/test-devel-warnings.t
--- a/tests/test-devel-warnings.t
+++ b/tests/test-devel-warnings.t
@@ -98,7 +98,7 @@
> EOF
$ hg buggylocking
devel-warn: "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:* (buggylocking) (glob)
-#if no-chg
+#if no-chg no-pyoxidizer
$ hg buggylocking --traceback
devel-warn: "wlock" acquired after "lock" at:
*/hg:* in <module> (glob) (?)
@@ -115,7 +115,8 @@
*/mercurial/dispatch.py:* in <lambda> (glob)
*/mercurial/util.py:* in check (glob)
$TESTTMP/buggylocking.py:* in buggylocking (glob)
-#else
+#endif
+#if chg no-pyoxidizer
$ hg buggylocking --traceback
devel-warn: "wlock" acquired after "lock" at:
*/hg:* in <module> (glob) (?)
@@ -156,6 +157,24 @@
*/mercurial/util.py:* in check (glob)
$TESTTMP/buggylocking.py:* in buggylocking (glob)
#endif
+#if pyoxidizer
+ $ hg buggylocking --traceback
+ devel-warn: "wlock" acquired after "lock" at:
+ <string>:* (glob)
+ mercurial.dispatch:* in run (glob)
+ mercurial.dispatch:* in dispatch (glob)
+ mercurial.dispatch:* in _rundispatch (glob)
+ mercurial.dispatch:* in _runcatch (glob)
+ mercurial.dispatch:* in _callcatch (glob)
+ mercurial.scmutil:* in callcatch (glob)
+ mercurial.dispatch:* in _runcatchfunc (glob)
+ mercurial.dispatch:* in _dispatch (glob)
+ mercurial.dispatch:* in runcommand (glob)
+ mercurial.dispatch:* in _runcommand (glob)
+ mercurial.dispatch:* in <lambda> (glob)
+ mercurial.util:* in check (glob)
+ $TESTTMP/buggylocking.py:* in buggylocking (glob)
+#endif
$ hg properlocking
$ hg nowaitlocking
@@ -180,7 +199,7 @@
devel-warn: foorbar is deprecated, go shopping
(compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob)
-#if no-chg
+#if no-chg no-pyoxidizer
$ hg oldanddeprecated --traceback
devel-warn: foorbar is deprecated, go shopping
(compatibility will be dropped after Mercurial-42.1337, update your code.) at:
@@ -198,7 +217,8 @@
*/mercurial/dispatch.py:* in <lambda> (glob)
*/mercurial/util.py:* in check (glob)
$TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
-#else
+#endif
+#if chg no-pyoxidizer
$ hg oldanddeprecated --traceback
devel-warn: foorbar is deprecated, go shopping
(compatibility will be dropped after Mercurial-42.1337, update your code.) at:
@@ -240,8 +260,27 @@
*/mercurial/util.py:* in check (glob)
$TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
#endif
+#if pyoxidizer
+ $ hg oldanddeprecated --traceback
+ devel-warn: foorbar is deprecated, go shopping
+ (compatibility will be dropped after Mercurial-42.1337, update your code.) at:
+ <string>:* (glob)
+ mercurial.dispatch:* in run (glob)
+ mercurial.dispatch:* in dispatch (glob)
+ mercurial.dispatch:* in _rundispatch (glob)
+ mercurial.dispatch:* in _runcatch (glob)
+ mercurial.dispatch:* in _callcatch (glob)
+ mercurial.scmutil:* in callcatch (glob)
+ mercurial.dispatch:* in _runcatchfunc (glob)
+ mercurial.dispatch:* in _dispatch (glob)
+ mercurial.dispatch:* in runcommand (glob)
+ mercurial.dispatch:* in _runcommand (glob)
+ mercurial.dispatch:* in <lambda> (glob)
+ mercurial.util:* in check (glob)
+ $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
+#endif
-#if no-chg
+#if no-chg no-pyoxidizer
$ hg blackbox -l 7
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
@@ -266,7 +305,8 @@
$TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob)
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7
-#else
+#endif
+#if chg no-pyoxidizer
$ hg blackbox -l 7
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
@@ -315,6 +355,32 @@
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob)
1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7
#endif
+#if pyoxidizer
+ $ hg blackbox -l 7
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
+ (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob)
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
+ (compatibility will be dropped after Mercurial-42.1337, update your code.) at:
+ <string>:* in <module> (glob)
+ mercurial.dispatch:* in run (glob)
+ mercurial.dispatch:* in dispatch (glob)
+ mercurial.dispatch:* in _rundispatch (glob)
+ mercurial.dispatch:* in _runcatch (glob)
+ mercurial.dispatch:* in _callcatch (glob)
+ mercurial.scmutil* in callcatch (glob)
+ mercurial.dispatch:* in _runcatchfunc (glob)
+ mercurial.dispatch:* in _dispatch (glob)
+ mercurial.dispatch:* in runcommand (glob)
+ mercurial.dispatch:* in _runcommand (glob)
+ mercurial.dispatch:* in <lambda> (glob)
+ mercurial.util:* in check (glob)
+ $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob)
+ 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7
+#endif
Test programming error failure:
@@ -389,8 +455,10 @@
> EOF
$ hg --config "extensions.buggyconfig=${TESTTMP}/buggyconfig.py" buggyconfig
- devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: */mercurial/extensions.py:* (_loadextra) (glob)
- devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: */mercurial/extensions.py:* (_loadextra) (glob)
+ devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: */mercurial/extensions.py:* (_loadextra) (glob) (no-pyoxidizer !)
+ devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: */mercurial/extensions.py:* (_loadextra) (glob) (no-pyoxidizer !)
+ devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: mercurial.extensions:* (_loadextra) (glob) (pyoxidizer !)
+ devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: mercurial.extensions:* (_loadextra) (glob) (pyoxidizer !)
devel-warn: specifying a mismatched default value for a registered config item: 'ui.quiet' 'True' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob)
devel-warn: specifying a mismatched default value for a registered config item: 'ui.interactive' 'False' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob)
devel-warn: specifying a mismatched default value for a registered config item: 'test.some' 'bar' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob)
To: marmoute, #hg-reviewers
Cc: mharbison72, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210818/2debc328/attachment-0002.html>
More information about the Mercurial-patches
mailing list