[issue7312] Run some tests in a loop until failure

2009-11-14 Thread R. David Murray
R. David Murray added the comment: Committed to trunk in r76260 and py3k in r76261. -- resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed type: behavior -> feature request ___ Python tracker

[issue7312] Run some tests in a loop until failure

2009-11-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I've attached an updated patch that fixes the problem, but I'm not sure > it is a correct fix. Your patch looks fine to me. -- ___ Python tracker ___

[issue7312] Run some tests in a loop until failure

2009-11-13 Thread R. David Murray
R. David Murray added the comment: I still get: ValueError: No JSON object could be decoded in one or more of the threads when I hit ctl-c during a -j run. I've attached an updated patch that fixes the problem, but I'm not sure it is a correct fix. -- Added file: http://bugs.python.o

[issue7312] Run some tests in a loop until failure

2009-11-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you, here is an update patch. -- Added file: http://bugs.python.org/file15325/looptests2.patch ___ Python tracker ___

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread R. David Murray
R. David Murray added the comment: The patch generally looks good to me, but I think you overlooked line 507, where you do a pending.clear() in case of keyboard interrupt in -j mode. I tested it on trunk and it seems to work great, except when I press ctl-C :) -- _

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Jesse Noller
Jesse Noller added the comment: Oh, no apologies needed. You have a patch! :) -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: > This is what I wanted to do in http://bugs.python.org/issue7134 Ah, sorry, I hadn't seen it. -- ___ Python tracker ___ __

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Jesse Noller
Jesse Noller added the comment: +1 I wanted to do this in +1 This is what I wanted to do in http://bugs.python.org/issue7134 I would put this in 2.x and 3.x :) There was some feedback in this ML thread: http://mail.python.org/pipermail/python-dev/2009-June/090238.html -- __

[issue7312] Run some tests in a loop until failure

2009-11-12 Thread Antoine Pitrou
New submission from Antoine Pitrou : It can be useful to run one or several of the regression tests in a loop, until one of the tests fail. Here is a patch to do that. (interesting thing, by the way: you can combine it with -j, in order to run several instance of the test at once) -- co