Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #23839: Various caches now are cleared before running every test file. | Serhiy Storchaka | 2016-11-11 | 2 | -26/+86 | |
|\ \ | |/ | ||||||
| * | Issue #23839: Various caches now are cleared before running every test file. | Serhiy Storchaka | 2016-11-11 | 2 | -26/+86 | |
| | | ||||||
* | | Issue #28649: Clear the typing module caches when search for reference leaks. | Serhiy Storchaka | 2016-11-09 | 1 | -0/+8 | |
|\ \ | |/ | ||||||
| * | Issue #28649: Clear the typing module caches when search for reference leaks. | Serhiy Storchaka | 2016-11-09 | 1 | -0/+8 | |
| | | ||||||
* | | Merge 3.7: Issue #28409: regrtest: fix the parser of command line arguments. | Victor Stinner | 2016-10-17 | 1 | -4/+7 | |
|\ \ | |/ | ||||||
| * | Merge 3.6: Issue #28409: regrtest: fix the parser of command line arguments. | Victor Stinner | 2016-10-17 | 1 | -4/+7 | |
| | | ||||||
* | | Merge 3.6 (issue #27829) | Victor Stinner | 2016-09-23 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Merge 3.5 (issue #27829) | Victor Stinner | 2016-09-23 | 1 | -1/+1 | |
| | | ||||||
* | | regrtest: add -u for unbuffered stdout/stderr | Victor Stinner | 2016-09-21 | 1 | -1/+1 | |
|/ | ||||||
* | Merge 3.5 (regrtest) | Victor Stinner | 2016-09-10 | 1 | -1/+1 | |
| | ||||||
* | Issue 27948: Allow backslashes in the literal string portion of f-strings, ↵ | Eric V. Smith | 2016-09-10 | 1 | -1/+1 | |
| | | | | but not in the expressions. Also, require expressions to begin and end with literal curly braces. | |||||
* | regrtest: log FS and locale encodings | Victor Stinner | 2016-09-09 | 1 | -1/+5 | |
| | ||||||
* | Adds test.support.PGO and skips tests that are not useful for PGO. | Steve Dower | 2016-09-07 | 1 | -0/+2 | |
| | ||||||
* | Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a ↵ | Eric V. Smith | 2016-09-03 | 1 | -1/+1 | |
| | | | | temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts. | |||||
* | Issue #27829: libregrtest.save_env: flush stderr | Victor Stinner | 2016-08-22 | 1 | -6/+4 | |
| | | | | | | Use flush=True to try to get a warning which is missing in buildbots. Use also f-string to make the code shorter. | |||||
* | Cleanup libregrtest | Victor Stinner | 2016-08-22 | 2 | -37/+20 | |
| | | | | | * main.py: remove unused import * runtest: simplify runtest_inner() parameters, reuse ns parameter | |||||
* | Issue #27787: Merge regrtest fixup from 3.5 | Martin Panter | 2016-08-20 | 1 | -0/+1 | |
| | ||||||
* | regrtest: replace "Result:" with "Tests result:" | Victor Stinner | 2016-08-19 | 1 | -1/+1 | |
| | ||||||
* | regrtest: add a summary of the summary, "Result: xxx" | Victor Stinner | 2016-08-17 | 1 | -0/+8 | |
| | | | | | | | It's sometimes hard to check quickly if tests succeeded, failed or something bad happened. I added a final "Result: xxx" line which summarizes all outputs into a single line, written at the end (it should always be the last line of the output). | |||||
* | regrtest: set interrupted to True if re-run is interrupted | Victor Stinner | 2016-08-17 | 1 | -1/+2 | |
| | ||||||
* | regrtest: add newlines in output for readability | Victor Stinner | 2016-08-17 | 1 | -0/+3 | |
| | ||||||
* | regrtest: nicer output for durations | Victor Stinner | 2016-08-17 | 1 | -12/+19 | |
| | | | | Use milliseconds and minutes units, not only seconds. | |||||
* | regrtest: rename --slow option to --slowest | Victor Stinner | 2016-08-17 | 1 | -1/+1 | |
| | | | | Thanks to optparse, --slow syntax still works ;-) | |||||
* | Closes issue #24773: Implement PEP 495 (Local Time Disambiguation). | Alexander Belopolsky | 2016-07-22 | 1 | -1/+3 | |
| | ||||||
* | regrtest: display test result (passed, failed, ...) | Victor Stinner | 2016-05-20 | 3 | -8/+26 | |
| | | | | | * in multiprocessing mode: always display the result * sequential mode: only display the result if the test did not pass | |||||
* | regrtest doesn't ignore -j1 anymore | Victor Stinner | 2016-05-20 | 1 | -2/+0 | |
| | | | | | | | | * 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. | |||||
* | Issue #26295: When using "python3 -m test --testdir=TESTDIR", regrtest doesn't | Victor Stinner | 2016-03-30 | 2 | -4/+9 | |
| | | | | | | add "test." prefix to test module names. regrtest also prepends testdir to sys.path. | |||||
* | Merge 3.5 (regrtest) | Victor Stinner | 2016-03-29 | 1 | -0/+1 | |
| | ||||||
* | fix typo in comment | Victor Stinner | 2016-03-29 | 1 | -1/+1 | |
| | | | | Thanks Arfrever for the report :) | |||||
* | regrtest: round final timing towards +inf | Victor Stinner | 2016-03-27 | 1 | -3/+8 | |
| | ||||||
* | Backed out changeset 245a16f33c4b | Victor Stinner | 2016-03-25 | 1 | -279/+202 | |
| | | | | Serhiy asked me to review it. | |||||
* | Rework libregrtest.save_env | Victor Stinner | 2016-03-25 | 1 | -202/+279 | |
| | | | | | | | | | | | * Replace get/restore methods with a Resource class and Resource subclasses * Create ModuleAttr, ModuleAttrList and ModuleAttrDict helper classes * Use __subclasses__() to get resource classes instead of using an hardcoded list (2 shutil resources were missinged in the list!) * Don't define MultiprocessingProcessDangling resource if the multiprocessing module is missing * Nicer diff for dictionaries. Useful for the big os.environ dict * Reorder code to group resources | |||||
* | Cleanup regrtest "main()" function | Victor Stinner | 2016-03-24 | 2 | -23/+27 | |
| | | | | | | | * Rename libregrtest.main_in_temp_cwd() to libregrtest.main() * Add regrtest.main_in_temp_cwd() alias to libregrtest.main() * Move old main_in_temp_cwd() code into libregrtest.Regrtest.main() * Update multiple scripts to call libregrtest.main() | |||||
* | regrtest: when parallel tests are interrupted, display progress | Victor Stinner | 2016-03-24 | 1 | -6/+18 | |
| | ||||||
* | regrtest: mention in tests run sequentially or in parallel | Victor Stinner | 2016-03-24 | 2 | -0/+4 | |
| | ||||||
* | regrtest: fix --fromfile feature | Victor Stinner | 2016-03-24 | 1 | -6/+17 | |
| | | | | | * Update code for the name regrtest output format. * Enhance also test_regrtest test on --fromfile | |||||
* | regrtest: display test duration in sequential mode | Victor Stinner | 2016-03-23 | 3 | -7/+26 | |
| | | | | Only display duration if a test takes more than 30 seconds. | |||||
* | regrtest: add timeout to main process when using -jN | Victor Stinner | 2016-03-23 | 1 | -2/+11 | |
| | | | | | libregrtest: add a watchdog to run_tests_multiprocess() using faulthandler.dump_traceback_later(). | |||||
* | regrtest: add time to output | Victor Stinner | 2016-03-22 | 1 | -5/+18 | |
| | | | | | Timestamps should help to debug slow buildbots, and timeout and hang on buildbots. | |||||
* | regrtest: Fix module.__path__ | Victor Stinner | 2016-03-15 | 1 | -2/+2 | |
| | | | | | | | Issue #26538: libregrtest: Fix setup_tests() to keep module.__path__ type (_NamespacePath), don't convert to a list. Add _NamespacePath.__setitem__() method to importlib._bootstrap_external. | |||||
* | regrtest: display progress every 30 seconds (instead of 60 seconds) when | Victor Stinner | 2015-11-04 | 1 | -1/+1 | |
| | | | | running tests in multiprocessing mode (-jN). | |||||
* | Issue #25523: Merge a-to-an corrections from 3.5. | Serhiy Storchaka | 2015-11-02 | 1 | -1/+1 | |
| | ||||||
* | Close #25373: Fix regrtest --slow with interrupted test | Victor Stinner | 2015-10-11 | 1 | -4/+8 | |
| | | | | | | | * 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 | |||||
* | Fix missing import in libregrtest. | Steve Dower | 2015-10-08 | 1 | -0/+1 | |
| | ||||||
* | Issue #23919: Prevents assert dialogs appearing in the test suite. | Steve Dower | 2015-10-08 | 2 | -3/+13 | |
| | ||||||
* | Merge from 3.5 for issue #25188. | Brett Cannon | 2015-10-02 | 5 | -20/+42 | |
| | ||||||
* | Issue #22806: Add ``python -m test --list-tests`` command to list tests. | Victor Stinner | 2015-10-02 | 2 | -26/+40 | |
| | ||||||
* | Issue #18174: "python -m test --huntrleaks ..." now also checks for leak of | Victor Stinner | 2015-10-02 | 1 | -5/+42 | |
| | | | | file descriptors. Patch written by Richard Oudkerk. | |||||
* | Fix regrtest --coverage on Windows | Victor Stinner | 2015-09-30 | 1 | -4/+1 | |
| | | | | | Issue #25260: Fix ``python -m test --coverage`` on Windows. Remove the list of ignored directories. | |||||
* | Issue #25220: Fix "-m test --forever" | Victor Stinner | 2015-09-30 | 3 | -5/+6 | |
| | | | | | | | * 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 |