| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* bpo-30523: regrtest: Add --list-cases option (#2238)
* bpo-30284: Fix regrtest for out of tree build (#1481)
* bpo-30540: regrtest: add --matchfile option (#1909)
* bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479)
* bpo-30263: regrtest: log system load (#1452)
|
|
|
|
|
| |
* in multiprocessing mode: always display the result
* sequential mode: only display the result if the test did not pass
|
|
|
|
| |
Thanks Arfrever for the report :)
|
| |
|
| |
|
|
|
|
| |
Only display duration if a test takes more than 30 seconds.
|
|
|
|
|
| |
libregrtest: add a watchdog to run_tests_multiprocess() using
faulthandler.dump_traceback_later().
|
|
|
|
| |
running tests in multiprocessing mode (-jN).
|
| |
|
|
|
|
|
|
|
| |
* Fix "-m test --forever": replace _test_forever() with self._test_forever()
* Add unit test for --forever
* Add unit test for a failing test
* Fix also some pyflakes warnings in libregrtest
|
|
|
|
|
| |
When the -jN command line option is used, display tests running since at least
30 seconds every minute.
|
|
|
|
|
| |
No need to support.verbose in Regrtest.run_tests(), it's always set in
runtest().
|
|
|
|
|
|
| |
* Remove runtest_ns(): pass directly ns to runtest().
* Create also Regrtest.rerun_failed_tests() method.
* Inline again Regrtest.run_test(): it's no more justified to have a method
|
|
|
|
|
| |
* Rename setup_python() to setup_tests()
* Remove use_resources parameter of runtest()
|
|
|
|
|
|
|
|
|
|
| |
Slaves (child processes running tests for regrtest -jN) now inherit
--memlimit/-M, --threshold/-t and --nowindows/-n options.
* -M, -t and -n are now supported with -jN
* Factorize code to run tests.
* run_test_in_subprocess() now pass the whole "ns" namespace to the child
process.
|
|
|
|
|
|
| |
* Factorize code to run tests.
* run_test_in_subprocess() now pass the whole "ns" namespace to the child
process.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Running the Python test suite with -jN now:
- Display the duration of tests which took longer than 30 seconds
- Display the tests currently running since at least 30 seconds
- Display the tests we are waiting for when the test suite is interrupted
Clenaup also run_test_in_subprocess() code.
|
|
|
|
|
|
|
| |
Python doesn't display the refcount anymore by default. It only displays it
when -X showrefcount command line option is used, which is not the case here.
regrtest can be run with -X showrefcount, the option is not inherited by child
processes.
|
| |
|
|
Move the code to run tests in multiple processes using threading and subprocess
to a new submodule.
Move also slave_runner() (renamed to run_tests_slave()) and
run_test_in_subprocess() (renamed to run_tests_in_subprocess()) there.
|