Victor Stinner
35d2ca2b94
[3.6] bpo-30523, bpo-30764, bpo-30776: Sync regrtest from master ( #2441 )
...
* 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 )
* 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 )
* 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 )
2017-06-27 16:04:15 +02:00
..
2017-06-23 22:44:57 -07:00
2016-12-31 12:02:42 -07:00
2016-09-07 12:03:06 +00:00
2017-06-11 11:30:57 -05:00
2016-12-28 10:16:06 +02:00
2016-12-07 11:00:06 +02:00
2017-05-16 17:58:02 -07:00
2017-06-16 07:18:58 -07:00
2016-09-09 08:56:37 -07:00
2016-11-15 21:18:40 -05:00
2016-09-08 13:59:53 -04:00
2016-09-11 12:50:02 +03:00
2017-06-27 03:01:58 -04:00
2017-03-25 03:41:59 -07:00
2016-11-12 22:48:33 +02:00
2017-06-15 19:56:52 -07:00
2017-06-01 22:20:27 +08:00
2016-09-08 13:59:53 -04:00
2017-06-13 17:51:26 +02:00
2017-06-17 04:37:19 -04:00
2017-01-30 13:55:49 +03:00
2017-02-26 19:09:10 +03:00
2017-06-27 16:04:15 +02:00
2017-05-23 09:14:02 +03:00
2016-05-29 01:40:30 -04:00
2017-06-16 00:18:15 +02:00
2017-06-20 15:37:24 +02:00
2017-06-10 15:39:29 -05:00
2016-06-29 10:12:22 +00:00
2017-05-05 10:04:57 +02:00
2017-03-05 18:14:06 +02:00
2017-03-08 11:43:35 +08:00
2016-09-07 15:42:32 -07:00
2017-04-14 17:44:34 +03:00
2016-09-22 10:33:21 +00:00
2016-12-07 13:31:47 +02:00
2016-03-12 10:53:09 +02:00
2017-06-06 17:31:03 -07:00
2017-02-27 04:09:32 +09:00
2016-09-16 13:48:10 +02:00
2017-01-22 14:39:20 +08:00
2016-10-25 18:42:51 -07:00
2016-10-25 18:42:51 -07:00
2017-03-03 18:07:18 +03:00
2016-10-02 20:07:06 +03:00
2016-10-25 15:02:36 +03:00
2016-06-06 01:53:28 +00:00
2016-08-24 01:42:15 +10:00
2016-11-05 01:35:25 +00:00
2017-03-03 20:48:37 +03:00
2017-06-09 20:36:28 -07:00
2016-03-06 14:56:57 +02:00
2016-10-21 19:47:57 +09:00
2017-01-04 12:01:16 +01:00
2016-09-08 13:59:53 -04:00
2016-10-08 12:34:25 +03:00
2016-09-08 13:59:53 -04:00
2017-06-24 09:12:20 -07:00
2016-04-27 23:13:46 +03:00
2016-09-11 12:50:02 +03:00
2016-08-23 16:16:52 +01:00
2016-09-10 23:23:33 +02:00
2017-01-08 18:22:24 -08:00
2016-08-26 14:44:48 -07:00
2017-03-02 21:56:06 -08:00
2017-06-20 18:06:35 +03:00
2016-10-05 23:17:10 +03:00
2016-10-02 13:47:58 +03:00
2016-09-07 11:58:24 +02:00
2016-04-15 02:14:19 +00:00
2016-09-11 14:41:02 +03:00
2017-05-16 15:29:41 -07:00
2016-10-01 05:01:54 +03:00
2017-06-23 11:23:36 -07:00
2017-06-15 17:41:57 +03:00
2016-08-30 21:22:36 -07:00
2017-06-15 17:16:38 +03:00
2016-05-26 06:03:19 +00:00
2016-10-04 20:41:20 +03:00
2016-12-12 09:55:57 +01:00
2016-09-09 20:04:23 -04:00
2016-06-06 01:59:19 +00:00
2016-05-11 22:19:49 +03:00
2016-04-15 02:14:19 +00:00
2016-09-05 15:11:23 -07:00
2016-10-02 10:33:46 +03:00
2016-04-19 23:23:16 +00:00
2016-11-19 21:14:27 -08:00
2017-06-07 10:18:56 -07:00
2016-10-12 20:16:05 +02:00
2016-07-17 11:35:35 +03:00
2016-09-11 14:41:02 +03:00
2016-09-07 18:37:17 -07:00
2017-03-04 01:05:06 -05:00
2016-10-04 20:08:29 +03:00
2017-05-16 15:29:41 -07:00
2016-08-26 14:44:48 -07:00
2016-04-17 08:32:47 +03:00
2017-02-22 04:55:33 +03:00
2016-04-25 00:12:32 +03:00
2016-09-07 16:56:15 -07:00
2016-12-27 01:06:52 -08:00
2016-11-14 12:35:55 +01:00
2016-04-26 09:30:44 +03:00
2016-09-07 00:52:20 -07:00
2016-10-24 07:31:55 -07:00
2016-12-29 22:54:25 -07:00
2016-10-06 14:03:03 -04:00
2017-01-15 10:06:52 +00:00
2016-12-16 19:00:55 +02:00
2016-11-08 20:17:35 +02:00
2016-06-06 02:03:11 +00:00
2017-05-25 02:59:06 +08:00
2016-09-17 23:23:13 +03:00
2016-06-29 10:12:22 +00:00
2016-09-10 00:57:55 +03:00
2017-05-27 16:37:40 +03:00
2017-06-15 16:55:22 +03:00
2016-09-12 00:01:11 +02:00
2016-10-05 03:24:45 +11:00
2016-09-08 13:59:53 -04:00
2017-06-23 20:17:38 +03:00
2016-09-08 20:50:03 -07:00
2016-09-08 20:50:03 -07:00
2016-09-11 22:22:24 +02:00
2017-03-22 15:26:53 +08:00
2016-12-09 09:33:09 +01:00
2016-03-23 00:28:08 +01:00
2016-10-25 14:44:54 +03:00
2017-02-27 11:45:42 +08:00
2017-02-28 11:28:44 +08:00
2016-09-09 14:57:09 -07:00
2016-06-04 05:06:25 +00:00
2016-09-22 10:33:21 +00:00
2016-03-22 12:58:23 +01:00
2016-09-10 10:38:28 +00:00
2016-09-08 22:01:51 -07:00
2017-06-10 14:41:00 -07:00
2016-04-25 00:12:32 +03:00
2016-12-06 17:12:47 -05:00
2017-02-10 00:14:55 -08:00
2016-10-30 19:16:33 +02:00
2016-04-17 08:32:47 +03:00
2017-05-06 15:10:50 +03:00