Repository navigation
Commit 4ab8d5e
authored
[3.14] Backport regrtest changes from the main branch (#162298)
* [3.15] Backport regrtest changes from the main branch (#162281)
* Enhance encodings in regrtest header (#161959)
If the UTF-8 mode is disabled and/or if PYTHONCOERCECLOCALE
environment variable is set to "0": mention it in the "== encodings"
regrtest header.
If the locale encoding and the filesystem encoding are equal,
log "locale=FS=<encoding>" to have a shorter output.
On Windows, log ANSI and OEM code pages.
Backport to 3.15: add types and _winapi imports to libregrtest.utils.
Backport to 3.14: add _winapi.GetOEMCP() function,
only log utf8=1 if UTF-8 Mode is enabled in regrtest.
(cherry picked from commit f4fbacf)
* Display test header when running python -m test --tsan (#162249)
When running "python -m test" with --tsan or --tsan-parallel,
display the test header (log TSAN_OPTIONS env var).
(cherry picked from commit 53f4cad)
(cherry picked from commit ecf8cfe)1 parent a8c8da2 commit 4ab8d5e
4 files changed
Lines changed: 67 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
211 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
| |||
636 | 642 | | |
637 | 643 | | |
638 | 644 | | |
639 | | - | |
640 | | - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
641 | 671 | | |
642 | 672 | | |
643 | 673 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2746 | 2746 | | |
2747 | 2747 | | |
2748 | 2748 | | |
| 2749 | + | |
| 2750 | + | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
| 2756 | + | |
| 2757 | + | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
| 2761 | + | |
2749 | 2762 | | |
2750 | 2763 | | |
2751 | 2764 | | |
| |||
3017 | 3030 | | |
3018 | 3031 | | |
3019 | 3032 | | |
| 3033 | + | |
3020 | 3034 | | |
3021 | 3035 | | |
3022 | 3036 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments