annotate contrib/python3-whitelist @ 35393:4441705b7111

tests: remove (glob) annotations that were only for '\' matches # skip-blame because this was mechanically rewritten the following script. I ran it on both *.t and *.py, but none of the *.py changes were proper. All *.t ones appear to be, and they run without addition failures on both Windows and Linux. import argparse import os import re ap = argparse.ArgumentParser() ap.add_argument('path', nargs='+') opts = ap.parse_args() globre = re.compile(r'^(.*) \(glob\)(.*)$') for p in opts.path: tmp = p + '.tmp' with open(p, 'rb') as src, open(tmp, 'wb') as dst: for line in src: m = globre.match(line) if not m or '$LOCALIP' in line or '*' in line: dst.write(line) continue if '?' in line[:-3] or ('?' in line[:-3] and line[-3:] != '(?)'): dst.write(line) continue dst.write(m.group(1) + m.group(2) + '\n') os.unlink(p) os.rename(tmp, p)
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 10 Dec 2017 22:50:57 -0500
parents ea645c6c6d46
children aaeba70d5cbe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
1 test-add.t
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
2 test-addremove-similar.t
34024
19b8eee8b4ec python3: whitelist another 5 passing tests found with the ratchet script
Augie Fackler <raf@durin42.com>
parents: 33992
diff changeset
3 test-addremove.t
32894
ec9ed269edc3 py3: pass the path in hg.repository() as bytes
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32854
diff changeset
4 test-ancestor.py
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
5 test-automv.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
6 test-backwards-remove.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
7 test-bheads.t
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
8 test-bisect2.t
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
9 test-bookmarks-merge.t
34223
fa9f5d6733d3 python3: another 3 tests whitelisted
Augie Fackler <raf@durin42.com>
parents: 34024
diff changeset
10 test-bookmarks-strip.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
11 test-branch-tag-confict.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
12 test-casecollision.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
13 test-cat.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
14 test-changelog-exec.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
15 test-check-commit.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
16 test-check-execute.t
33992
492cd4bbca08 contrib: add test-check-module-imports.t to the Python 3 whitelist
Augie Fackler <raf@durin42.com>
parents: 33926
diff changeset
17 test-check-module-imports.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
18 test-check-pyflakes.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
19 test-check-pylint.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
20 test-check-shbang.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
21 test-children.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
22 test-commit-unresolved.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
23 test-completion.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
24 test-contrib-check-code.t
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
25 test-contrib-check-commit.t
34024
19b8eee8b4ec python3: whitelist another 5 passing tests found with the ratchet script
Augie Fackler <raf@durin42.com>
parents: 33992
diff changeset
26 test-debugrename.t
19b8eee8b4ec python3: whitelist another 5 passing tests found with the ratchet script
Augie Fackler <raf@durin42.com>
parents: 33992
diff changeset
27 test-diff-copy-depth.t
19b8eee8b4ec python3: whitelist another 5 passing tests found with the ratchet script
Augie Fackler <raf@durin42.com>
parents: 33992
diff changeset
28 test-diff-hashes.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
29 test-diff-issue2761.t
33305
aaa1f8f514cf py3: fix test-diff-newlines.t to be compatible with py3
Boris Feld <boris.feld@octobus.net>
parents: 33118
diff changeset
30 test-diff-newlines.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
31 test-diff-reverse.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
32 test-diff-subdir.t
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
33 test-dirstate-nonnormalset.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
34 test-doctest.py
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
35 test-double-merge.t
33838
48f3e87ce650 python3: whitelist four more passing tests
Augie Fackler <augie@google.com>
parents: 33586
diff changeset
36 test-duplicateoptions.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
37 test-empty-dir.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
38 test-empty-file.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
39 test-empty.t
33926
f4433f2713d0 encoding: add function to test if a str consists of ASCII characters
Yuya Nishihara <yuya@tcha.org>
parents: 33878
diff changeset
40 test-encoding-func.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
41 test-excessive-merge.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
42 test-execute-bit.t
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
43 test-gpg.t
33838
48f3e87ce650 python3: whitelist four more passing tests
Augie Fackler <augie@google.com>
parents: 33586
diff changeset
44 test-hghave.t
33878
c90014d5cdc3 python3: whitelist test-imports-checker.t, which now passes
Augie Fackler <raf@durin42.com>
parents: 33840
diff changeset
45 test-imports-checker.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
46 test-issue1089.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
47 test-issue1502.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
48 test-issue1802.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
49 test-issue1877.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
50 test-issue1993.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
51 test-issue522.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
52 test-issue612.t
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
53 test-issue619.t
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
54 test-issue672.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
55 test-issue842.t
34223
fa9f5d6733d3 python3: another 3 tests whitelisted
Augie Fackler <raf@durin42.com>
parents: 34024
diff changeset
56 test-journal-exists.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
57 test-locate.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
58 test-lrucachedict.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
59 test-manifest.py
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
60 test-manifest-merging.t
33838
48f3e87ce650 python3: whitelist four more passing tests
Augie Fackler <augie@google.com>
parents: 33586
diff changeset
61 test-match.py
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
62 test-merge-default.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
63 test-merge-internal-tools-pattern.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
64 test-merge-remove.t
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
65 test-merge-revert.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
66 test-merge-revert2.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
67 test-merge-subrepos.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
68 test-merge10.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
69 test-merge2.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
70 test-merge4.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
71 test-merge5.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
72 test-merge6.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
73 test-merge7.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
74 test-merge8.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
75 test-mq-qimport-fail-cleanup.t
34024
19b8eee8b4ec python3: whitelist another 5 passing tests found with the ratchet script
Augie Fackler <raf@durin42.com>
parents: 33992
diff changeset
76 test-permissions.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
77 test-push-checkheads-partial-C1.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
78 test-push-checkheads-partial-C2.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
79 test-push-checkheads-partial-C3.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
80 test-push-checkheads-partial-C4.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
81 test-push-checkheads-pruned-B1.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
82 test-push-checkheads-pruned-B2.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
83 test-push-checkheads-pruned-B3.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
84 test-push-checkheads-pruned-B4.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
85 test-push-checkheads-pruned-B5.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
86 test-push-checkheads-pruned-B6.t
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
87 test-push-checkheads-pruned-B7.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
88 test-push-checkheads-pruned-B8.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
89 test-push-checkheads-superceed-A1.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
90 test-push-checkheads-superceed-A2.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
91 test-push-checkheads-superceed-A3.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
92 test-push-checkheads-superceed-A4.t
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
93 test-push-checkheads-superceed-A5.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
94 test-push-checkheads-superceed-A6.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
95 test-push-checkheads-superceed-A7.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
96 test-push-checkheads-superceed-A8.t
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
97 test-push-checkheads-unpushed-D1.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
98 test-push-checkheads-unpushed-D2.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
99 test-push-checkheads-unpushed-D3.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
100 test-push-checkheads-unpushed-D4.t
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
101 test-push-checkheads-unpushed-D5.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
102 test-push-checkheads-unpushed-D6.t
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
103 test-push-checkheads-unpushed-D7.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
104 test-rename-dir-merge.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
105 test-rename-merge1.t
33840
627cb36b537f python3: whitelist another *13* tests that now pass
Augie Fackler <augie@google.com>
parents: 33838
diff changeset
106 test-rename.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
107 test-revert-flags.t
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
108 test-revert-unknown.t
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
109 test-revlog-group-emptyiter.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
110 test-revlog-packentry.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
111 test-run-tests.py
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
112 test-show-stack.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
113 test-simple-update.t
34223
fa9f5d6733d3 python3: another 3 tests whitelisted
Augie Fackler <raf@durin42.com>
parents: 34024
diff changeset
114 test-status-terse.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
115 test-uncommit.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
116 test-unified-test.t
35375
ea645c6c6d46 py3: add 32 new tests passing to the whitelist
Pulkit Goyal <7895pulkit@gmail.com>
parents: 35228
diff changeset
117 test-unrelated-pull.t
34350
f975cb7c4dbe py3: whitelist 15 more tests passing on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 34262
diff changeset
118 test-update-issue1456.t
35228
04a2820f2fca python3: whitelist many more passing tests
Augie Fackler <augie@google.com>
parents: 35142
diff changeset
119 test-update-names.t
33118
cc9501fa5574 py3: update the python3-whitelist with new tests which pass on Python 3
Pulkit Goyal <7895pulkit@gmail.com>
parents: 32894
diff changeset
120 test-update-reverse.t
32854
7a877e569ed6 contrib: check in a whitelist of passing tests in Python 3
Augie Fackler <augie@google.com>
parents:
diff changeset
121 test-xdg.t