Issue 13725: regrtest does not recognize -d flag (original) (raw)

Created on 2012-01-07 11:51 by etukia, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
regrtest-debug.patch etukia,2012-01-07 11:51 review
Messages (9)
msg150790 - (view) Author: Erno Tukia (etukia) Date: 2012-01-07 11:51
./python -m test --help -d/--debug -- print traceback for failed tests ./python -m test -d test_imaplib option -d not recognized Use --help for usage Patch included.
msg151215 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-01-14 03:41
Thanks for the report and patch; I can’t easily push these days but if nobody gets to it today I will commit this. BTW, are you finding these regrtest bugs while using it to run the CPython test suite or to run your tests?
msg151222 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-01-14 04:35
unittest.test.test_program.TestCommandLineArgs has a few test functions that do at least a minimal test of help and verbosity options and command line args. Should more be added for other options, like this and #13726?
msg151226 - (view) Author: Erno Tukia (etukia) Date: 2012-01-14 05:05
@Éric I just tried to fix, with tests, the imaplib bug (#13700) and I found this bug. And fixing this bug I happened to notice in the source code another bug (#13726). No problems with CPython test suite relating to these regrtest bugs.
msg151230 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-01-14 05:31
Erno: Okay, I just wanted to make sure you weren’t using it for your own projects, as regrtest is not an official public module. Thanks for your patches!
msg151255 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-01-14 15:19
New changeset f80f9eb5df02 by Meador Inge in branch '3.2': Issue #13725: regrtest does not recognize -d flag. http://hg.python.org/cpython/rev/f80f9eb5df02 New changeset f2b764dd0851 by Meador Inge in branch 'default': Issue #13725: regrtest does not recognize -d flag. http://hg.python.org/cpython/rev/f2b764dd0851
msg151256 - (view) Author: Meador Inge (meador.inge) * (Python committer) Date: 2012-01-14 15:21
Éric, I got it. Erno, thanks for the patch.
msg151257 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-01-14 15:57
New changeset 3e9b107fb5da by Meador Inge in branch '3.2': Issue #13725: Add a NEWS entry. http://hg.python.org/cpython/rev/3e9b107fb5da New changeset 7332e97587da by Meador Inge in branch 'default': Issue #13725: Add a NEWS entry. http://hg.python.org/cpython/rev/7332e97587da
msg151263 - (view) Author: Erno Tukia (etukia) Date: 2012-01-14 18:11
Meador, thanks for the acknowledgement.
History
Date User Action Args
2022-04-11 14:57:25 admin set github: 57934
2012-01-14 18:11:00 etukia set messages: +
2012-01-14 15:57:36 python-dev set messages: +
2012-01-14 15:21:32 meador.inge set status: open -> closednosy: + meador.ingemessages: + resolution: fixedstage: resolved
2012-01-14 15:19:48 python-dev set nosy: + python-devmessages: +
2012-01-14 05:31:39 eric.araujo set messages: +
2012-01-14 05:05:04 etukia set messages: +
2012-01-14 04:35:10 terry.reedy set nosy: + terry.reedy, ezio.melotti, michael.foordmessages: +
2012-01-14 03:41:41 eric.araujo set nosy: + eric.araujomessages: +
2012-01-07 11:51:48 etukia create