##// END OF EJS Templates
pyoxidized: adapt test-devel-warnings.t...
marmoute -
r48641:d704aea4 stable
parent child Browse files
Show More
@@ -98,7 +98,7 b''
98 98 > EOF
99 99 $ hg buggylocking
100 100 devel-warn: "wlock" acquired after "lock" at: $TESTTMP/buggylocking.py:* (buggylocking) (glob)
101 #if no-chg
101 #if no-chg no-pyoxidizer
102 102 $ hg buggylocking --traceback
103 103 devel-warn: "wlock" acquired after "lock" at:
104 104 */hg:* in <module> (glob) (?)
@@ -115,7 +115,8 b''
115 115 */mercurial/dispatch.py:* in <lambda> (glob)
116 116 */mercurial/util.py:* in check (glob)
117 117 $TESTTMP/buggylocking.py:* in buggylocking (glob)
118 #else
118 #endif
119 #if chg no-pyoxidizer
119 120 $ hg buggylocking --traceback
120 121 devel-warn: "wlock" acquired after "lock" at:
121 122 */hg:* in <module> (glob) (?)
@@ -156,6 +157,24 b''
156 157 */mercurial/util.py:* in check (glob)
157 158 $TESTTMP/buggylocking.py:* in buggylocking (glob)
158 159 #endif
160 #if pyoxidizer
161 $ hg buggylocking --traceback
162 devel-warn: "wlock" acquired after "lock" at:
163 <string>:* (glob)
164 mercurial.dispatch:* in run (glob)
165 mercurial.dispatch:* in dispatch (glob)
166 mercurial.dispatch:* in _rundispatch (glob)
167 mercurial.dispatch:* in _runcatch (glob)
168 mercurial.dispatch:* in _callcatch (glob)
169 mercurial.scmutil:* in callcatch (glob)
170 mercurial.dispatch:* in _runcatchfunc (glob)
171 mercurial.dispatch:* in _dispatch (glob)
172 mercurial.dispatch:* in runcommand (glob)
173 mercurial.dispatch:* in _runcommand (glob)
174 mercurial.dispatch:* in <lambda> (glob)
175 mercurial.util:* in check (glob)
176 $TESTTMP/buggylocking.py:* in buggylocking (glob)
177 #endif
159 178 $ hg properlocking
160 179 $ hg nowaitlocking
161 180
@@ -180,7 +199,7 b' Stripping from a transaction'
180 199 devel-warn: foorbar is deprecated, go shopping
181 200 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob)
182 201
183 #if no-chg
202 #if no-chg no-pyoxidizer
184 203 $ hg oldanddeprecated --traceback
185 204 devel-warn: foorbar is deprecated, go shopping
186 205 (compatibility will be dropped after Mercurial-42.1337, update your code.) at:
@@ -198,7 +217,8 b' Stripping from a transaction'
198 217 */mercurial/dispatch.py:* in <lambda> (glob)
199 218 */mercurial/util.py:* in check (glob)
200 219 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
201 #else
220 #endif
221 #if chg no-pyoxidizer
202 222 $ hg oldanddeprecated --traceback
203 223 devel-warn: foorbar is deprecated, go shopping
204 224 (compatibility will be dropped after Mercurial-42.1337, update your code.) at:
@@ -240,8 +260,27 b' Stripping from a transaction'
240 260 */mercurial/util.py:* in check (glob)
241 261 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
242 262 #endif
263 #if pyoxidizer
264 $ hg oldanddeprecated --traceback
265 devel-warn: foorbar is deprecated, go shopping
266 (compatibility will be dropped after Mercurial-42.1337, update your code.) at:
267 <string>:* (glob)
268 mercurial.dispatch:* in run (glob)
269 mercurial.dispatch:* in dispatch (glob)
270 mercurial.dispatch:* in _rundispatch (glob)
271 mercurial.dispatch:* in _runcatch (glob)
272 mercurial.dispatch:* in _callcatch (glob)
273 mercurial.scmutil:* in callcatch (glob)
274 mercurial.dispatch:* in _runcatchfunc (glob)
275 mercurial.dispatch:* in _dispatch (glob)
276 mercurial.dispatch:* in runcommand (glob)
277 mercurial.dispatch:* in _runcommand (glob)
278 mercurial.dispatch:* in <lambda> (glob)
279 mercurial.util:* in check (glob)
280 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
281 #endif
243 282
244 #if no-chg
283 #if no-chg no-pyoxidizer
245 284 $ hg blackbox -l 7
246 285 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
247 286 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
@@ -266,7 +305,8 b' Stripping from a transaction'
266 305 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
267 306 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob)
268 307 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7
269 #else
308 #endif
309 #if chg no-pyoxidizer
270 310 $ hg blackbox -l 7
271 311 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
272 312 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
@@ -315,6 +355,32 b' Stripping from a transaction'
315 355 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob)
316 356 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7
317 357 #endif
358 #if pyoxidizer
359 $ hg blackbox -l 7
360 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated
361 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
362 (compatibility will be dropped after Mercurial-42.1337, update your code.) at: $TESTTMP/buggylocking.py:* (oldanddeprecated) (glob)
363 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated exited 0 after * seconds (glob)
364 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback
365 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> devel-warn: foorbar is deprecated, go shopping
366 (compatibility will be dropped after Mercurial-42.1337, update your code.) at:
367 <string>:* in <module> (glob)
368 mercurial.dispatch:* in run (glob)
369 mercurial.dispatch:* in dispatch (glob)
370 mercurial.dispatch:* in _rundispatch (glob)
371 mercurial.dispatch:* in _runcatch (glob)
372 mercurial.dispatch:* in _callcatch (glob)
373 mercurial.scmutil* in callcatch (glob)
374 mercurial.dispatch:* in _runcatchfunc (glob)
375 mercurial.dispatch:* in _dispatch (glob)
376 mercurial.dispatch:* in runcommand (glob)
377 mercurial.dispatch:* in _runcommand (glob)
378 mercurial.dispatch:* in <lambda> (glob)
379 mercurial.util:* in check (glob)
380 $TESTTMP/buggylocking.py:* in oldanddeprecated (glob)
381 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> oldanddeprecated --traceback exited 0 after * seconds (glob)
382 1970/01/01 00:00:00 bob @cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b (5000)> blackbox -l 7
383 #endif
318 384
319 385 Test programming error failure:
320 386
@@ -389,8 +455,10 b' Test warning on config option access and'
389 455 > EOF
390 456
391 457 $ hg --config "extensions.buggyconfig=${TESTTMP}/buggyconfig.py" buggyconfig
392 devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: */mercurial/extensions.py:* (_loadextra) (glob)
393 devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: */mercurial/extensions.py:* (_loadextra) (glob)
458 devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: */mercurial/extensions.py:* (_loadextra) (glob) (no-pyoxidizer !)
459 devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: */mercurial/extensions.py:* (_loadextra) (glob) (no-pyoxidizer !)
460 devel-warn: extension 'buggyconfig' overwrite config item 'ui.interactive' at: mercurial.extensions:* (_loadextra) (glob) (pyoxidizer !)
461 devel-warn: extension 'buggyconfig' overwrite config item 'ui.quiet' at: mercurial.extensions:* (_loadextra) (glob) (pyoxidizer !)
394 462 devel-warn: specifying a mismatched default value for a registered config item: 'ui.quiet' 'True' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob)
395 463 devel-warn: specifying a mismatched default value for a registered config item: 'ui.interactive' 'False' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob)
396 464 devel-warn: specifying a mismatched default value for a registered config item: 'test.some' 'bar' at: $TESTTMP/buggyconfig.py:* (cmdbuggyconfig) (glob)
General Comments 0
You need to be logged in to leave comments. Login now