- 26 Haz, 2018 1 kayıt (commit)
-
-
Pablo Galindo yazdı
Fix bug in `Lib/test/libregrtest/runtest.py` that makes running tests an extra time than the specified number of runs. Add check for invalid --huntrleaks/-R parameters.
-
- 16 Haz, 2018 1 kayıt (commit)
-
-
Pablo Galindo yazdı
regrtest: Add warning when using less than 3 warmup runs like -R 1:3.
-
- 14 Haz, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Enhance also format_duration(): work on integers and rounds towards +infinity (math.ceil). * Write unit tests on format_duration()
-
- 08 Haz, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
If tests are re-run, use "xxx then yyy" result format (ex: "FAILURE then SUCCESS") to show that some failing tests have been re-run. Add also test_regrtest.test_rerun_fail() test.
-
- 02 Haz, 2018 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 01 Haz, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
* "running:" progress: Format number of seconds as hours and minutes * format_duration(): count also minutes as hours * Create Lib/test/libregrtest/utils.py
-
- 31 May, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
* No longer clear filters, like --match, to re-run failed tests in verbose mode (-w option). * Tests result: always indicate if tests have been interrupted. * Enhance tests summary
-
- 28 May, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
Using -w, when failing tests are re-run in verbose mode, display again the tests results at the end.
-
- 25 May, 2018 1 kayıt (commit)
-
-
Victor Stinner yazdı
runtest_mp.py: call print() with flush=True.
-
- 28 Mar, 2018 1 kayıt (commit)
-
-
Ned Deily yazdı
-
- 18 Şub, 2018 1 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.
-
- 20 Ock, 2018 1 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
This PR re-designs the internal typing API using the new PEP 560 features. However, there are only few minor changes in the public API.
-
- 21 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Rename support._match_test() to support.match_test(): make it public * Remove support.match_tests global variable. It is replaced with a new support.set_match_tests() function, so match_test() doesn't have to check each time if patterns were modified. * Rewrite match_test(): use different code paths depending on the kind of patterns for best performances. Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>
-
- 08 Kas, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
kB (*kilo* byte) unit means 1000 bytes, whereas KiB ("kibibyte") means 1024 bytes. KB was misused: replace kB or KB with KiB when appropriate. Same change for MB and GB which become MiB and GiB. Change the output of Tools/iobench/iobench.py. Round also the size of the documentation from 5.5 MB to 5 MiB.
-
- 13 Eki, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case.
-
- 07 Eyl, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* Remove Setup.config * Always define WITH_THREAD for compatibility.
-
- 01 Eyl, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Use a pool of integer objects toprevent false alarm when checking for memory block leaks. Fill the pool with values in -1000..1000 which are the most common (reference, memory block, file descriptor) differences. Co-Authored-By: Antoine Pitrou <pitrou@free.fr>
-
- 17 Agu, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add Lib/test/pythoninfo.py: script collecting various informations about Python to help debugging test failures. * regrtest: remove sys.hash_info and sys.flags from header. * Travis CI, Appveyor: run pythoninfo before tests
-
- 10 Agu, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 09 Agu, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Add a post_test_cleanup() function which currently only calls support.reap_children().
-
- 22 Tem, 2017 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
* bpo-26732: fix too many fds in processes started with the "forkserver" method A child process would inherit as many fds as the number of still-running children. * Add blurb and test comment
-
- 20 Tem, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
When running the test suite using --use=all / -u all, exclude tzdata since it makes test_datetime too slow (15-20 min on some buildbots) which then times out on some buildbots. -u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata, to run all test_datetime tests. Fix also regrtest command line parser to allow passing -u extralargefile to run test_zipfile64. Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
-
- 03 Tem, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
--forever now stops if a fail changes the environment.
-
- 30 Haz, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
If threading_cleanup() fails to cleanup threads, set a a new support.environment_altered flag to true, flag uses by save_env which is used by regrtest to check if a test altered the environment. At the end, the test file fails with ENV_CHANGED instead of SUCCESS, to report that it altered the environment.
-
- 29 Haz, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Only report a leak if each run leaks at least one memory block.
-
- 27 Haz, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Change the regrtest --huntrleaks checker to decide if a test file leaks or not. Require that each run leaks at least 1 reference. * Warmup runs are now completely ignored: ignored in the checker test and not used anymore to compute the sum. * Add an unit test for a reference leak. Example of reference differences previously considered a failure (leak) and now considered as success (success, no leak): [3, 0, 0] [0, 1, 0] [8, -8, 1]
-
- 26 Haz, 2017 2 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-30764: regrtest: change exit code on failure * Exit code 2 if failed tests ("bad") * Exit code 3 if interrupted * bpo-30764: regrtest: add --fail-env-changed option If the option is set, mark a test as failed if it alters the environment, for example if it creates a file without removing it.
-
Victor Stinner yazdı
* regrtest --list-cases now supports --match and --match-file options. Example: ./python -m test --list-cases -m FileTests test_os * --list-cases now also sets support.verbose to False to prevent messages to stdout when loading test modules. * Add support._match_test() private function.
-
- 16 Haz, 2017 1 kayıt (commit)
-
-
mlouielu yazdı
* bpo-30523: regrtest: Add --list-cases option * bpo-30523: Enhance --list-cases * Add get_abs_module() function, use it in list_cases() * list_cases() now logs skipped tests into stderr * Remove unused doctest
-
- 14 Haz, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Use a build/ directory in the build directory, not in the source directory, since the source directory may be read-only and must not be modified. Fallback on the source directory if the build directory is not available (missing "abs_builddir" sysconfig variable).
-
- 09 Haz, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add a new option taking a filename to get a list of test names to filter tests. * support.match_tests becomes a list. * Modify run_unittest() to accept to match the whole test identifier, not just a part of a test identifier. For example, the following command only runs test_default_timeout() of the BarrierTests class of test_threading: $ ./python -m test -v test_threading -m test.test_threading.BarrierTests.test_default_timeout Remove also some empty lines from test_regrtest.py to make flake8 tool happy.
-
- 18 May, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Workaround for a regrtest bug.
-
- 09 May, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
If the child process exited with a non-zero code, don't strip the last line of stdout anymore. Add also a sanity check in accumulate_result().
-
- 04 May, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
* bpo-30263: regrtest: log system load * regrtest: log the number of CPUs Log the number of CPUs in the header. --verbose now imply --header.
-
- 19 Nis, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Buildbots don't run tests with -vv and so only log "xxx was modified by test_xxx" which is not enough to debug such random issue. In many cases, I'm unable to reproduce the warning and so unable to fix it. Always logging the value before and value after should help to debug such warning on buildbots.
-
- 05 Mar, 2017 1 kayıt (commit)
-
-
Ivan Levkivskyi yazdı
-
- 08 Şub, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Write also dots into stderr, instead of stdout.
-
- 06 Şub, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
Issue #29362: Catch a crash of a worker process as a normal failure and continue to run next tests. It allows to get the usual test summary: single line result (OK/FAIL), total duration, etc.
-
- 03 Ock, 2017 1 kayıt (commit)
-
-
Victor Stinner yazdı
regrtest: simplify the regex used to match test names for the --fromfile command line option.
-
- 09 Ara, 2016 1 kayıt (commit)
-
-
Victor Stinner yazdı
-