[issue22806] regrtest: add switch -c to run only modified tests

2015-10-02 Thread STINNER Victor
STINNER Victor added the comment: I'm now closing this issue because Antoine, Serhiy and me dislike the idea. > An alternate suggestion would be to allow filenames like > "Lib/test/test_foo.py" as arguments to regrtest. This sounds like a better plan. Please open a new issue if you still need

[issue22806] regrtest: add switch -c to run only modified tests

2015-10-02 Thread STINNER Victor
STINNER Victor added the comment: I added "python -m test --list-tests". It's not perfect but it's better than nothing :-p -- ___ Python tracker ___

[issue22806] regrtest: add switch -c to run only modified tests

2015-10-02 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1005573e6a74 by Victor Stinner in branch 'default': Issue #22806: Add ``python -m test --list-tests`` command to list tests. https://hg.python.org/cpython/rev/1005573e6a74 -- nosy: +python-dev ___ Python

[issue22806] regrtest: add switch -c to run only modified tests

2015-07-21 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: -ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22806 ___ ___ Python-bugs-list

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-07 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- nosy: +ethan.furman ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22806 ___ ___ Python-bugs-list

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Georg Brandl
New submission from Georg Brandl: A quick way to select only tests that are modified in the checkout. -- components: Tests files: regrtest_changed.diff keywords: patch messages: 230748 nosy: georg.brandl, pitrou priority: normal severity: normal status: open title: regrtest: add switch

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately this doesn't work with tests for pickle, json or tkinter. I'm afraid this feature would make false promise. Without careful check you can not be confident that all modified tests are selected. If you going to add this switch, it should emit a

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: I agree this is more dangerous than useful. (even if you haven't modified a test it may still be impacted by some other change) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22806

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Georg Brandl
Georg Brandl added the comment: Well, this is not meant as a comprehensive run ALL impacted tests because that is impossible in general :) An alternate suggestion would be to allow filenames like Lib/test/test_foo.py as arguments to regrtest. Then I could run without the switch using

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22806 ___ ___