[issue18906] Create a way to always run tests in subprocesses within regrtest

2019-06-25 Thread STINNER Victor
STINNER Victor added the comment: Since 2013, the Python test suite evolved a lot. First, we fixed hundreds of bugs where tests leaked various kinds of resources: processes, threads, file descriptors, memory, etc. Second, python3 -m test -j0 now runs each test file in a subprocess. Maybe we

[issue18906] Create a way to always run tests in subprocesses within regrtest

2019-02-24 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue18906] Create a way to always run tests in subprocesses within regrtest

2015-09-30 Thread STINNER Victor
STINNER Victor added the comment: I created the issue #25285: "regrtest: run tests in subprocesses with -j1 on buildbots". -- nosy: +haypo ___ Python tracker ___ ___

[issue18906] Create a way to always run tests in subprocesses within regrtest

2014-06-30 Thread Mark Lawrence
Mark Lawrence added the comment: I believe that #9517 may be relevant if we decide to take the subprocess route. -- nosy: +BreamoreBoy type: -> enhancement versions: +Python 3.5 -Python 3.4 ___ Python tracker

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-03 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-03 Thread Eli Bendersky
Eli Bendersky added the comment: On Tue, Sep 3, 2013 at 2:32 AM, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > > The most natural approach is to have a special attribute set in the > module's global dict (for example: __REGRTEST_SUBPROCESS__ = True); > however, there's a sl

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > The most natural approach is to have a special attribute set in the module's > global dict (for example: __REGRTEST_SUBPROCESS__ = True); however, there's a > slight problem with this approach - regrtest has to import the module to see > this attribute, an

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: > An easier hack is likely just a new "always run in subprocess" container > with submodule names in regrtest.py. It's not elegant, but it will work. > True, that's also an option. I had it in mind in the beginning, but it's too hacky for my tastes :-) Not doing

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Changes by Eli Bendersky : -- Removed message: http://bugs.python.org/msg196813 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: > An easier hack is likely just a new "always run in subprocess" container > with submodule names in regrtest.py. It's not elegant, but it will work. > True, that's also an option. I had it in mind in the beginning, but it's too hacky for my tastes :-) Not doing

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Nick Coghlan
Nick Coghlan added the comment: Although the "well, don't do that then" alternative also sounds reasonable, and better localises the information about how the test should run. -- ___ Python tracker

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Nick Coghlan
Nick Coghlan added the comment: An easier hack is likely just a new "always run in subprocess" container with submodule names in regrtest.py. It's not elegant, but it will work. -- ___ Python tracker __

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
Eli Bendersky added the comment: A question that comes up is how should a module signal to regrtest that it needs to be run in a subprocess? The most natural approach is to have a special attribute set in the module's global dict (for example: __REGRTEST_SUBPROCESS__ = True); however, there's

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: -> needs patch type: -> enhancement ___ Python tracker ___ ___ Python-bugs-l

[issue18906] Create a way to always run tests in subprocesses within regrtest

2013-09-02 Thread Eli Bendersky
New submission from Eli Bendersky: There were numerous discussions and issues in the past about the cross-test dependencies that sometimes exist because some tests need to muck with import caches (both on the Python and C level). Some examples: http://mail.python.org/pipermail/python-dev/2013-