| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
| |
| |
| | |
Pass also --testdir option.
|
| | |
| |
| |
| |
| |
| |
| | |
test_forever() stores its state into the builtins module since the test module
is reloaded at each run.
Remove also warning to detect leaked tests of a previous run.
|
| | |
| |
| |
| |
| | |
* Update code for the name regrtest output format.
* Enhance also test_regrtest test on --fromfile
|
| | |
| |
| |
| | |
Only display duration if a test takes more than 30 seconds.
|
| | |
| |
| |
| |
| | |
Timestamps should help to debug slow buildbots, and timeout and hang on
buildbots.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
* Fix accumulate_result(): don't use time on interrupted and failed test
* Add unit test for interrupted test
* Add unit test on --slow with interrupted test, with and without
multiprocessing
|
| | |
| |
| |
| | |
Check also that the deprecation warning is emited.
|
| | | |
|
| | |
| |
| |
| | |
Issue #25306: Disable popup and logs to stderr on assertion failures in MSCRT.
|
| | |
| |
| |
| | |
fixed.
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
file descriptors. Patch written by Richard Oudkerk.
|
| | |
| |
| |
| |
| | |
Issue #25260: Fix ``python -m test --coverage`` on Windows. Remove the list of
ignored directories.
|
| | |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
Replace script_helper.assert_python_ok() with subprocess.run().
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
Issue #25220: Fix test_regrtest.test_tools_buildbot_test() on release build (on
Windows), pass "+d" option to test.bat.
|
| | |
| |
| |
| |
| |
| |
| | |
* test all available ways to run the Python test suite
* test many regrtest options: --slow, --coverage, -r, -u, etc.
Note: python -m test --coverage doesn't work on Windows.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| |/
|
|
|
| |
Start to split regrtest.py into smaller parts with the creation of
Lib/test/libregrtest/cmdline.py.
|
| | |
|
| | |
|
| |
|
|
| |
'--timeout' option requires faulthandler.dump_traceback_later).
|
| |
|
|
|
| |
If bots fail due to using this flag, the buildbot scripts have to be modified
to omit it. Regrtest ignores it anyway.
|
| |
|
|
| |
parsing. Added more tests for regrtest's argument parsing.
|
| |
|
|
|
| |
This fixes a regression introduced in the commit for issue #15302, which
switched regrtest from getopt to argparse.
|
|
|
This is the first step in refactoring regrtest to use argparse. The
regrtest module's main() function still expects a getopt-style return
value rather than an argparse.Namespace instance.
|