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
..
2016-09-09 17:37:37 -07:00
2017-05-10 08:47:22 +02:00
2017-06-27 16:04:15 +02:00
2017-03-27 00:35:56 -05:00
2017-06-27 16:04:15 +02:00
2017-06-11 16:46:45 +02:00
2017-06-16 07:18:58 -07:00
2017-06-04 17:14:03 -05:00
2017-06-13 20:32:46 +10:00
2017-03-16 16:22:35 +03:00
2017-04-20 07:12:37 -07:00
2016-12-06 11:02:12 +01:00
2017-06-13 17:51:26 +02:00
2016-09-06 23:25:35 +02:00
2016-09-08 20:50:03 -07:00
2016-09-08 20:50:03 -07:00
2016-09-08 20:50:03 -07:00
2016-08-25 21:11:50 -07:00
2016-09-03 19:30:22 +01:00
2017-03-31 23:23:49 +03:00
2016-09-07 15:42:32 -07:00
2016-07-25 02:39:20 +00:00
2017-06-23 13:52:06 +03:00
2016-09-09 20:04:23 -04:00
2016-09-06 23:27:06 +02:00
2017-02-14 06:11:12 -08:00
2016-12-10 17:13:16 +01:00
2016-07-17 11:35:35 +03:00
2016-09-08 20:50:03 -07:00
2016-09-11 12:50:02 +03:00
2016-12-19 22:00:22 +08:00
2016-09-08 13:59:53 -04:00
2016-09-22 09:37:56 +00:00
2016-09-22 16:49:35 +02:00
2017-01-23 22:59:03 +00:00
2017-06-06 17:31:03 -07:00
2017-02-27 04:09:32 +09:00
2017-01-22 14:39:20 +08:00
2017-03-09 16:06:47 +02:00
2016-09-09 10:36:01 -07:00
2016-11-16 18:16:17 -05:00
2017-04-28 04:13:37 +02:00
2017-06-12 09:02:13 +03:00
2016-08-18 09:22:23 -07:00
2017-03-03 18:07:18 +03:00
2016-09-09 12:55:37 -07:00
2016-06-02 10:11:18 +00:00
2016-09-14 16:37:34 +03:00
2016-08-18 09:22:23 -07:00
2016-08-22 12:24:46 +01:00
2016-09-11 14:41:02 +03:00
2017-01-20 08:33:06 +02:00
2017-03-06 18:17:10 +08:00
2016-11-11 17:11:33 +02:00
2016-10-25 15:02:36 +03:00
2017-06-09 22:28:32 +02:00
2017-05-04 06:50:28 +03:00
2016-09-08 13:59:53 -04:00
2017-05-20 10:23:31 +03:00
2016-09-04 09:58:51 +01:00
2017-03-12 21:34:22 +10:00
2016-12-15 20:59:58 +01:00
2016-08-24 01:42:15 +10:00
2017-06-23 15:24:28 +02:00
2016-09-08 13:59:53 -04:00
2017-05-23 01:03:00 +08:00
2016-09-16 17:32:06 +03:00
2017-03-08 11:43:35 +08:00
2017-01-24 20:52:43 +02:00
2016-10-01 02:44:37 +03:00
2017-02-20 21:59:30 +00:00
2016-09-07 12:03:06 +00:00
2017-03-03 20:48:37 +03:00
2016-08-18 09:22:23 -07:00
2017-06-09 20:36:28 -07:00
2017-03-19 20:53:42 +02:00
2016-05-26 05:35:26 +00:00
2016-10-21 19:47:57 +09:00
2017-01-06 09:50:27 +01:00
2016-07-24 14:39:28 -04:00
2016-12-07 11:00:06 +02:00
2016-09-09 14:57:09 -07:00
2016-09-16 00:46:05 +00:00
2016-07-28 01:30:58 +00:00
2016-12-14 19:54:38 +02:00
2016-07-30 16:26:03 +10:00
2016-09-09 12:55:37 -07:00
2017-05-20 13:06:26 +03:00
2016-09-18 21:46:08 -07:00
2016-08-30 10:47:49 -07:00
2016-08-30 10:47:49 -07:00
2016-10-08 12:34:25 +03:00
2016-07-13 21:13:29 -07:00
2016-09-08 13:59:53 -04:00
2016-08-20 06:50:58 +00:00
2016-11-14 17:14:42 +01:00
2016-09-08 02:46:22 -07:00
2016-11-02 20:32:37 -04:00
2017-06-24 09:12:20 -07:00
2016-08-18 09:22:23 -07:00
2016-09-09 12:55:37 -07:00
2017-04-08 11:25:47 +03:00
2016-10-07 23:32:41 +03:00
2017-06-06 13:47:14 -07:00
2017-03-19 20:27:16 +02:00
2017-03-09 21:01:49 +02:00
2017-05-21 10:35:39 +03:00
2017-03-14 15:27:01 +08:00
2016-08-23 16:16:52 +01:00
2017-06-16 09:29:42 -04:00
2016-09-10 23:23:33 +02:00
2017-03-15 09:42:02 +02:00
2016-12-11 14:43:18 +02:00
2016-07-03 22:30:49 +03:00
2017-05-13 00:21:50 +02:00
2016-09-09 12:55:37 -07:00
2017-06-09 17:06:39 -04:00
2016-12-13 10:00:01 +01:00
2016-07-13 21:13:29 -07:00
2016-09-22 19:41:20 +03:00
2017-06-20 18:06:35 +03:00
2016-12-11 14:43:18 +02:00
2016-11-06 18:25:39 -08:00
2016-10-02 13:47:58 +03:00
2016-09-23 11:32:30 +02:00
2016-09-08 13:59:53 -04:00
2016-09-08 13:59:53 -04:00
2016-07-10 13:32:43 -04:00
2016-10-10 00:28:38 +00:00
2016-09-08 11:11:13 -07:00
2016-08-16 00:10:14 -04:00
2017-06-14 22:43:01 +02:00
2016-10-01 05:01:54 +03:00
2017-06-15 17:41:57 +03:00
2016-09-09 14:57:09 -07:00
2017-04-21 18:27:29 +02:00
2017-06-15 17:16:38 +03:00
2016-08-18 09:22:23 -07:00
2017-03-30 12:48:23 -07:00
2016-05-26 06:03:19 +00:00
2016-12-19 10:46:14 +01:00
2017-06-01 22:20:27 +08:00
2016-09-09 23:06:47 -04:00
2016-10-31 08:31:13 +02:00
2016-12-12 09:55:57 +01:00
2016-09-09 20:09:43 -04:00
2016-09-04 12:29:14 +01:00
2016-05-28 00:41:57 +00:00
2016-09-08 15:11:11 -07:00
2016-06-06 01:59:19 +00:00
2016-10-05 22:54:19 -07:00
2016-07-03 22:27:26 +03:00
2016-09-06 19:38:15 -07:00
2016-09-06 19:38:15 -07:00
2016-09-06 19:38:15 -07:00
2016-09-06 19:38:15 -07:00
2017-04-27 18:25:03 +02:00
2017-06-19 15:42:43 +02:00
2016-08-26 14:44:48 -07:00
2016-09-08 20:50:03 -07:00
2017-01-08 00:37:13 -08:00
2017-06-25 09:49:15 +03:00
2017-04-19 23:22:19 +03:00
2017-06-07 10:18:56 -07:00
2016-10-12 20:16:05 +02:00
2016-09-07 15:42:32 -07: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
2016-08-12 11:59:52 +00:00
2016-09-10 23:23:33 +02:00
2017-06-25 09:49:15 +03:00
2016-08-26 14:44:48 -07:00
2017-01-04 18:53:00 +02:00
2016-07-13 21:13:29 -07:00
2016-12-13 09:11:38 +01:00
2016-09-11 12:50:02 +03:00
2016-10-22 07:56:58 -07:00
2016-07-14 03:35:15 +00:00
2017-05-27 07:20:24 -07:00
2017-03-20 09:13:47 +02:00
2017-06-15 16:55:22 +03:00
2016-08-27 04:03:26 +00:00
2017-06-27 16:04:15 +02:00
2016-07-13 21:13:29 -07:00
2016-12-19 08:04:15 +02:00
2016-09-18 20:17:58 +03:00
2016-09-07 18:37:17 -07:00
2017-05-05 10:04:57 +02:00
2016-11-21 16:48:10 -08:00
2016-12-29 22:54:25 -07:00
2016-10-06 14:03:03 -04:00
2016-11-21 16:59:04 -08:00
2016-07-01 12:33:00 +03:00
2017-01-15 10:06:52 +00:00
2016-12-16 19:00:55 +02:00
2017-05-02 11:45:42 +02:00
2016-06-06 02:03:11 +00:00
2017-05-03 00:14:29 +02:00
2016-09-11 14:41:02 +03:00
2017-05-02 16:49:10 +02:00
2016-12-13 10:00:01 +01:00
2016-10-05 03:24:45 +11:00
2016-09-08 13:59:53 -04:00
2016-11-15 09:12:10 +01:00
2016-06-03 10:38:24 +03:00
2016-11-15 17:24:42 +01:00
2017-02-02 14:18:43 +01:00
2016-07-28 01:11:04 +00:00
2016-11-29 09:54:17 +02:00
2017-06-27 00:00:33 +02:00
2016-12-05 16:47:55 +10:00
2017-04-28 20:05:05 +03:00
2016-12-11 14:43:18 +02:00
2016-12-11 14:43:18 +02:00
2016-06-02 10:07:09 +00:00
2016-06-04 20:33:33 +03:00
2017-04-20 11:26:25 +03:00
2017-01-14 06:26:51 +00:00
2017-03-08 12:29:33 +02:00
2016-05-26 06:03:19 +00:00
2017-04-28 20:05:05 +03:00
2016-10-25 14:44:54 +03:00
2017-05-16 17:06:14 -07:00
2017-05-17 14:49:38 -07:00
2016-08-17 11:07:21 +02:00
2016-08-15 01:27:03 +10:00
2016-09-09 14:57:09 -07:00
2016-11-11 12:06:38 +02:00
2016-10-07 23:46:22 +03:00
2017-03-19 20:53:42 +02:00
2016-06-05 10:32:57 +03:00
2016-09-09 14:57:09 -07:00
2017-06-10 14:41:00 -07:00
2016-09-09 12:55:37 -07:00
2016-09-09 12:55:37 -07:00
2017-02-27 19:08:01 +03:00
2016-09-14 23:53:47 -07:00
2016-06-12 09:35:13 +03:00
2016-10-22 03:21:36 +00:00
2017-04-07 00:56:59 -07:00
2017-04-02 01:36:58 -07:00
2017-05-17 10:51:01 -07:00
2017-06-20 15:37:24 +02:00
2016-09-09 12:55:37 -07:00
2016-12-31 20:08:16 +03:00
2017-02-02 19:17:02 +00:00
2016-12-27 14:23:43 +01:00
2016-10-30 19:16:33 +02:00
2017-02-06 14:50:17 -08:00
2016-12-17 13:30:27 -08:00
2016-09-06 16:32:43 -05:00
2016-11-24 10:50:34 -08:00
2016-09-11 14:41:02 +03:00
2016-12-21 12:35:11 +02:00
2017-03-30 18:08:21 +03:00
2017-03-15 14:12:53 +03:00
2016-11-06 18:47:03 +02:00
2017-04-16 12:04:45 +03:00
2016-09-14 08:10:45 +03:00
2016-08-18 09:14:47 +03:00
2016-05-26 05:35:26 +00:00