Victor Stinner
fea98bfcff
[2.7] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master ( #2444 )
...
* bpo-30523: regrtest --list-cases --match (#2401 )
* 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.
(cherry picked from commit ace56d5836 )
(cherry picked from commit 36946c06a3bdb1104c53f0fe535086572ffbdd9e)
* bpo-30764: regrtest: add --fail-env-changed option (#2402 )
* 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.
(cherry picked from commit 63f54c6893 )
(cherry picked from commit 1f33857a3677de84bdc6d80c39f577eb081ed85d)
* bpo-30776: reduce regrtest -R false positives (#2422 )
* 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]
(cherry picked from commit 48b5c422ff )
(cherry picked from commit e0f8b43a46850aa5e5992465cab684496f102fe5)
2017-06-27 16:56:43 +02:00
..
2016-06-02 10:35:44 +00:00
2016-12-27 15:09:36 +02:00
2017-06-11 14:19:39 -05:00
2016-12-28 10:16:06 +02:00
2017-05-04 18:10:09 +02:00
2016-09-07 12:03:06 +00:00
2016-05-26 05:28:50 +00:00
2016-11-15 21:21:35 -05:00
2016-06-02 10:35:44 +00:00
2017-06-11 14:19:39 -05:00
2016-11-12 22:47:16 +02:00
2016-12-27 15:09:36 +02:00
2017-05-26 08:15:51 +03:00
2017-06-01 22:22:18 +08:00
2015-11-02 03:37:02 +00:00
2017-06-13 17:52:29 +02:00
2013-01-31 23:52:03 +01:00
2016-04-17 09:37:36 +03:00
2016-04-17 09:37:36 +03:00
2016-07-11 07:51:37 +00:00
2016-12-03 12:36:45 -08:00
2017-01-16 00:07:27 -08:00
2017-06-27 16:56:43 +02:00
2017-01-18 12:14:29 +00:00
2016-05-26 05:28:50 +00:00
2017-05-17 10:08:11 +03:00
2012-05-19 18:36:04 +03:00
2015-05-26 01:35:54 -07:00
2016-05-08 13:18:25 +00:00
2013-12-18 15:36:34 -06:00
2016-06-02 10:35:44 +00:00
2016-06-03 05:59:20 +00:00
2017-05-18 12:34:40 +03:00
2013-12-18 00:28:36 +01:00
2017-02-28 20:39:30 +09:00
2011-05-01 02:02:30 +02:00
2014-10-17 20:07:08 -04:00
2016-12-27 15:09:36 +02:00
2012-12-18 21:27:37 +02:00
2016-02-23 22:30:50 +00:00
2016-06-08 07:16:14 +00:00
2012-05-01 10:46:59 +08:00
2015-04-10 13:24:10 +03:00
2016-09-27 22:45:20 -04:00
2016-05-26 05:28:50 +00:00
2015-10-03 05:55:46 +00:00
2012-10-27 14:42:36 -04:00
2015-11-02 03:37:02 +00:00
2012-07-16 00:11:05 -07:00
2015-11-02 03:37:02 +00:00
2016-05-26 05:28:50 +00:00
2011-09-01 20:04:50 +02:00
2012-01-23 17:30:53 +01:00
2016-06-02 10:35:44 +00:00
2016-07-10 08:34:21 -07:00
2015-11-30 17:20:02 +02:00
2013-12-17 12:09:46 -05:00
2016-08-13 11:10:23 -07:00
2016-04-17 09:37:36 +03:00
2016-09-07 12:03:06 +00:00
2016-12-02 07:58:42 +02:00
2013-05-08 23:42:41 -04:00
2016-03-08 23:34:28 +02:00
2015-01-27 11:40:51 +02:00
2017-04-03 13:06:34 +02:00
2015-02-13 12:02:05 +02:00
2016-04-17 09:37:36 +03:00
2011-04-26 21:02:26 +08:00
2016-11-14 19:25:44 +02:00
2014-08-12 12:54:55 +03:00
2016-04-19 04:03:41 +00:00
2014-12-01 18:16:30 +02:00
2016-04-15 02:14:19 +00:00
2014-05-11 16:11:44 -07:00
2015-01-18 11:42:50 +02:00
2017-04-15 18:35:46 +03:00
2016-09-16 02:54:11 +00:00
2017-05-16 17:38:30 -07:00
2014-01-25 19:42:27 +02:00
2017-02-01 22:53:03 +02:00
2015-11-02 03:37:02 +00:00
2012-02-26 01:26:09 +01:00
2015-04-01 16:53:53 +03:00
2017-05-20 18:44:02 -07:00
2015-02-13 12:02:05 +02:00
2013-10-23 21:45:58 -07:00
2016-04-17 09:37:36 +03:00
2014-01-25 19:42:27 +02:00
2011-12-19 07:28:08 +02:00
2015-11-11 17:33:12 +02:00
2016-04-09 08:17:53 +03:00
2016-05-14 07:25:37 +00:00
2016-05-26 05:28:50 +00:00
2013-09-18 08:50:11 -04:00
2013-10-01 11:39:08 -04:00
2016-04-15 02:14:19 +00:00
2015-10-24 17:39:36 +03:00
2012-02-26 01:37:47 +01:00
2016-04-19 04:03:41 +00:00
2016-04-15 02:14:19 +00:00
2015-04-13 20:24:10 -04:00
2016-06-02 10:35:44 +00:00
2015-09-05 19:13:17 -04:00
2015-11-07 11:15:32 +02:00
2016-12-27 15:09:36 +02:00
2011-09-01 22:06:49 +02:00
2011-10-06 14:17:47 -07:00
2016-09-21 09:10:21 -07:00
2013-04-23 13:47:06 +02:00
2014-12-05 20:02:38 -05:00
2016-08-23 12:30:28 -04:00
2013-10-02 11:40:26 +03:00
2011-06-28 21:57:21 -05:00
2016-05-26 05:28:50 +00:00
2012-02-16 00:40:03 -08:00
2015-04-14 19:03:06 +03:00
2012-05-18 21:54:25 +03:00
2016-06-12 05:25:16 +00:00
2013-08-10 18:17:01 -04:00
2017-01-06 16:13:37 -08:00
2014-11-30 11:47:54 -05:00
2016-05-29 08:13:58 +00:00
2015-11-23 23:50:26 +00:00
2016-05-08 13:18:25 +00:00
2015-12-03 01:23:10 +00:00
2011-10-19 10:39:35 +03:00
2015-04-10 13:24:10 +03:00
2016-08-09 14:57:03 +01:00
2016-12-16 19:04:17 +02:00
2016-04-18 03:45:18 +00:00
2016-07-11 07:51:37 +00:00
2016-12-03 02:14:09 -05:00
2011-10-20 23:21:58 +02:00
2017-05-25 02:24:27 +08:00
2016-04-17 09:37:36 +03:00
2016-04-17 09:37:36 +03:00
2017-05-18 12:34:40 +03:00
2013-09-20 21:25:53 +03:00
2017-05-18 13:46:17 +03:00
2016-09-06 20:06:47 +02:00
2011-06-27 23:41:53 -07:00
2015-03-24 22:27:50 +02:00
2013-02-13 12:26:58 +02:00
2017-06-08 18:34:30 +02:00
2014-01-29 00:15:59 -05:00
2012-02-26 01:26:09 +01:00
2013-10-26 13:13:51 -04:00
2017-05-12 11:31:08 +02:00
2017-03-22 15:22:44 +08:00
2016-10-30 20:52:55 +02:00
2015-04-10 13:24:10 +03:00
2016-02-29 00:31:38 +00:00
2015-10-28 21:39:36 +02:00
2015-10-10 19:34:46 -07:00
2015-05-30 19:37:19 +03:00
2014-01-16 18:59:17 +02:00
2015-06-28 13:05:19 -04:00
2014-01-16 18:59:17 +02:00
2014-01-22 01:33:59 +01:00
2015-03-04 09:42:59 +02:00
2016-05-16 01:07:13 +00:00
2017-06-20 16:20:36 +02:00
2014-01-18 18:30:09 +02:00
2015-09-29 23:33:03 +03:00
2015-10-29 20:38:04 -07:00
2017-06-05 09:13:50 -04:00
2016-10-25 09:51:38 +03:00
2016-12-27 15:08:27 +01:00
2016-10-13 13:29:55 -07:00
2011-09-19 16:57:18 +02:00
2014-10-10 21:11:34 +03:00
2015-11-02 03:37:02 +00:00
2017-05-04 23:54:43 -07:00