Victor Stinner
a0ccc54e6d
Synchronize libregrtest from master to 3.6 ( #2244 )
...
* 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 )
2017-06-16 14:39:09 +02:00
Victor Stinner
2773add19a
bpo-27103: regrtest disables -W if -R is used ( #1651 ) ( #1656 )
...
Workaround for a regrtest bug.
(cherry picked from commit fcdd9b6b7e
)
2017-05-18 13:36:51 -07:00
Xiang Zhang
772bf2ed83
Issue #28950 : Disallow -j0 combined with -T/-l in regrtest.
2016-12-19 22:00:22 +08:00
Victor Stinner
a506a93b0b
Merge 3.6: Issue #28409 : regrtest: fix the parser of command line arguments.
2016-10-17 18:13:46 +02:00
Victor Stinner
eddc4b7272
Merge 3.5 (regrtest)
2016-09-10 04:27:56 -04:00
Victor Stinner
6c44619ece
regrtest: rename --slow option to --slowest
...
Thanks to optparse, --slow syntax still works ;-)
2016-08-17 11:25:43 +02:00
Alexander Belopolsky
5d0c598382
Closes issue #24773 : Implement PEP 495 (Local Time Disambiguation).
2016-07-22 18:47:04 -04:00
Victor Stinner
6d81a2136d
regrtest doesn't ignore -j1 anymore
...
* regrtest now uses subprocesses when the -j1 command line option
is used: each test file runs in a fresh child process. Before, the -j1 option
was ignored.
* Tools/buildbot/test.bat script now uses -j1 by default to run
each test file in fresh child process.
2016-05-20 13:15:55 +02:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Steve Dower
08ec6d9611
Fix missing import in libregrtest.
2015-10-08 11:34:07 -07:00
Steve Dower
12c2945ccf
Issue #23919 : Prevents assert dialogs appearing in the test suite.
2015-10-08 09:05:36 -07:00
Brett Cannon
11faa21843
Merge from 3.5 for issue #25188 .
2015-10-02 16:20:49 -07:00
Victor Stinner
5f9d3acc5e
Issue #22806 : Add `python -m test --list-tests
` command to list tests.
2015-10-03 00:21:12 +02:00
Victor Stinner
ecef622fec
Issue #25220 , libregrtest: Call setup_python(ns) in the slaves
...
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.
2015-09-30 01:39:28 +02:00
Victor Stinner
3844fe5ed8
Issue #25220 : Move most regrtest.py code to libregrtest
2015-09-26 10:38:01 +02:00
Victor Stinner
98de5340d4
Issue #25220 : Create Lib/test/libregrtest/
...
Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py: code to handle the command line, especially
parsing command line arguments. This part of the code is tested by
test_regrtest.
2015-09-26 09:43:45 +02:00
Victor Stinner
0cca00b67e
Issue #25220 : Backed out changeset eaf9a99b6bb8
2015-09-23 23:16:47 +02:00
Victor Stinner
7b92abf0e9
Issue #25220 : Create Lib/test/libregrtest/
...
Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py.
2015-09-23 23:04:18 +02:00