<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/libregrtest/cmdline.py, branch enum-private-310</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27290)</title>
<updated>2021-07-22T20:30:44+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-22T20:30:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9608719e12b14087c1cb34f77c847974442cd6e7'/>
<id>9608719e12b14087c1cb34f77c847974442cd6e7</id>
<content type='text'>
* Move to a static argparse.Namespace subclass
* Roughly annotate runtest.py
* Refactor libregrtest to use lossless test result objects
* Only re-run test methods that match names of previously failing test methods
* Adopt tests to cover test method name matching

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;
(cherry picked from commit f1afef5e0d93d66fbf3c9aaeab8b3b8da9617583)

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move to a static argparse.Namespace subclass
* Roughly annotate runtest.py
* Refactor libregrtest to use lossless test result objects
* Only re-run test methods that match names of previously failing test methods
* Adopt tests to cover test method name matching

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;
(cherry picked from commit f1afef5e0d93d66fbf3c9aaeab8b3b8da9617583)

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Use new test.support helper submodules in tests (GH-21219)</title>
<updated>2020-06-30T13:46:06+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-06-30T13:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3ddc634cd5469550c0c2dc5a6051a70739995699'/>
<id>3ddc634cd5469550c0c2dc5a6051a70739995699</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989)</title>
<updated>2019-11-19T23:46:49+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-11-19T23:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b'/>
<id>e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b</id>
<content type='text'>
When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.

For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.

For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36044: Reduce number of unit tests run for PGO build (GH-14702)</title>
<updated>2019-07-22T19:54:25+00:00</updated>
<author>
<name>Neil Schemenauer</name>
<email>nas-github@arctrix.com</email>
</author>
<published>2019-07-22T19:54:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4e16a4a3112161a5c6981c0588142d4a4673a934'/>
<id>4e16a4a3112161a5c6981c0588142d4a4673a934</id>
<content type='text'>
Reduce the number of unit tests run for the PGO generation task.  This
speeds up the task by a factor of about 15x.  Running the full unit test
suite is slow.  This change may result in a slightly less optimized build
since not as many code branches will be executed.  If you are willing to
wait for the much slower build, the old behavior can be restored using
'./configure [..] PROFILE_TASK="-m test --pgo-extended"'.  We make no
guarantees as to which PGO task set produces a faster build.  Users who
care should run their own relevant benchmarks as results can depend on
the environment, workload, and compiler tool chain.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce the number of unit tests run for the PGO generation task.  This
speeds up the task by a factor of about 15x.  Running the full unit test
suite is slow.  This change may result in a slightly less optimized build
since not as many code branches will be executed.  If you are willing to
wait for the much slower build, the old behavior can be restored using
'./configure [..] PROFILE_TASK="-m test --pgo-extended"'.  We make no
guarantees as to which PGO task set produces a faster build.  Users who
care should run their own relevant benchmarks as results can depend on
the environment, workload, and compiler tool chain.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37359: Add --cleanup option to python3 -m test (GH-14332)</title>
<updated>2019-06-24T10:03:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-24T10:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=47fbc4e45b35b3111e2d947a66490a43ac21d363'/>
<id>47fbc4e45b35b3111e2d947a66490a43ac21d363</id>
<content type='text'>
* regrtest: Add --cleanup option to remove "test_python_*" directories
  of previous failed test jobs.
* Add "make cleantest" to run "python3 -m test --cleanup".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* regrtest: Add --cleanup option to remove "test_python_*" directories
  of previous failed test jobs.
* Add "make cleantest" to run "python3 -m test --cleanup".</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36719: regrtest -jN no longer stops on crash (GH-13231)</title>
<updated>2019-05-13T17:17:54+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-13T17:17:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b0917df329ba14b7bc6fa782c1b61e7a2163af0b'/>
<id>b0917df329ba14b7bc6fa782c1b61e7a2163af0b</id>
<content type='text'>
"python3 -m test -jN ..." now continues the execution of next tests
when a worker process crash (CHILD_ERROR state). Previously, the test
suite stopped immediately. Use --failfast to stop at the first error.

Moreover, --forever now also implies --failfast.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"python3 -m test -jN ..." now continues the execution of next tests
when a worker process crash (CHILD_ERROR state). Previously, the test
suite stopped immediately. Use --failfast to stop at the first error.

Moreover, --forever now also implies --failfast.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36719: regrtest always detect uncollectable objects (GH-12951)</title>
<updated>2019-04-26T07:28:53+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-26T07:28:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=75120d2205af086140e5e4e2dc620eb19cdf9078'/>
<id>75120d2205af086140e5e4e2dc620eb19cdf9078</id>
<content type='text'>
regrtest now always detects uncollectable objects. Previously, the
check was only enabled by --findleaks. The check now also works with
-jN/--multiprocess N.

--findleaks becomes a deprecated alias to --fail-env-changed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
regrtest now always detects uncollectable objects. Previously, the
check was only enabled by --findleaks. The check now also works with
-jN/--multiprocess N.

--findleaks becomes a deprecated alias to --fail-env-changed.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in test module usage message (GH-11374)</title>
<updated>2018-12-31T05:41:39+00:00</updated>
<author>
<name>sth</name>
<email>sth.dev@tejp.de</email>
</author>
<published>2018-12-31T05:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7108aab49c2b6d6d81766c354f9a809278e03d4c'/>
<id>7108aab49c2b6d6d81766c354f9a809278e03d4c</id>
<content type='text'>
A minor typo in the output of `python -m test -h`.
A space was missing in between two words.
howmuch -&gt; how much</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A minor typo in the output of `python -m test -h`.
A space was missing in between two words.
howmuch -&gt; how much</pre>
</div>
</content>
</entry>
<entry>
<title>Add --tempdir option for test run (GH-10322)</title>
<updated>2018-11-17T12:14:36+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2018-11-17T12:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=38df97a03c5102e717a110ab69bff8e5c9ebfd08'/>
<id>38df97a03c5102e717a110ab69bff8e5c9ebfd08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34582: Adds JUnit XML output for regression tests (GH-9210)</title>
<updated>2018-09-18T16:10:26+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2018-09-18T16:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed'/>
<id>d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
