##// END OF EJS Templates
test-check-py3-compat: don't run py2 part if $PYTHON is python3
Yuya Nishihara -
r39438:0cbcf962 default
parent child Browse files
Show More
@@ -1,560 +1,561 b''
1 1 test-abort-checkin.t
2 2 test-absorb-filefixupstate.py
3 3 test-absorb-phase.t
4 4 test-absorb-strip.t
5 5 test-add.t
6 6 test-addremove-similar.t
7 7 test-addremove.t
8 8 test-alias.t
9 9 test-amend-subrepo.t
10 10 test-amend.t
11 11 test-ancestor.py
12 12 test-annotate.py
13 13 test-annotate.t
14 14 test-archive-symlinks.t
15 15 test-atomictempfile.py
16 16 test-audit-path.t
17 17 test-audit-subrepo.t
18 18 test-automv.t
19 19 test-backout.t
20 20 test-backwards-remove.t
21 21 test-bad-pull.t
22 22 test-basic.t
23 23 test-bheads.t
24 24 test-bisect.t
25 25 test-bisect2.t
26 26 test-bisect3.t
27 27 test-blackbox.t
28 28 test-bookmarks-current.t
29 29 test-bookmarks-merge.t
30 30 test-bookmarks-pushpull.t
31 31 test-bookmarks-rebase.t
32 32 test-bookmarks-strip.t
33 33 test-bookmarks.t
34 34 test-branch-change.t
35 35 test-branch-option.t
36 36 test-branch-tag-confict.t
37 37 test-branches.t
38 38 test-bundle-phases.t
39 39 test-bundle-r.t
40 40 test-bundle-type.t
41 41 test-bundle-vs-outgoing.t
42 42 test-bundle.t
43 43 test-bundle2-exchange.t
44 44 test-bundle2-format.t
45 45 test-bundle2-multiple-changegroups.t
46 46 test-bundle2-pushback.t
47 47 test-bundle2-remote-changegroup.t
48 48 test-cappedreader.py
49 49 test-casecollision.t
50 50 test-cat.t
51 51 test-cbor.py
52 52 test-censor.t
53 53 test-changelog-exec.t
54 54 test-check-code.t
55 55 test-check-commit.t
56 56 test-check-execute.t
57 57 test-check-interfaces.py
58 58 test-check-module-imports.t
59 test-check-py3-compat.t
59 60 test-check-pyflakes.t
60 61 test-check-pylint.t
61 62 test-check-shbang.t
62 63 test-children.t
63 64 test-clone-cgi.t
64 65 test-clone-pull-corruption.t
65 66 test-clone-r.t
66 67 test-clone-update-order.t
67 68 test-clonebundles.t
68 69 test-commit-amend.t
69 70 test-commit-interactive.t
70 71 test-commit-multiple.t
71 72 test-commit-unresolved.t
72 73 test-commit.t
73 74 test-committer.t
74 75 test-completion.t
75 76 test-config-env.py
76 77 test-config.t
77 78 test-conflict.t
78 79 test-confused-revert.t
79 80 test-context.py
80 81 test-contrib-check-code.t
81 82 test-contrib-check-commit.t
82 83 test-convert-authormap.t
83 84 test-convert-clonebranches.t
84 85 test-convert-cvs-branch.t
85 86 test-convert-cvs-detectmerge.t
86 87 test-convert-cvs-synthetic.t
87 88 test-convert-cvs.t
88 89 test-convert-cvsnt-mergepoints.t
89 90 test-convert-datesort.t
90 91 test-convert-filemap.t
91 92 test-convert-hg-sink.t
92 93 test-convert-hg-source.t
93 94 test-convert-hg-startrev.t
94 95 test-convert-splicemap.t
95 96 test-convert-tagsbranch-topology.t
96 97 test-copy-move-merge.t
97 98 test-copy.t
98 99 test-copytrace-heuristics.t
99 100 test-debugbuilddag.t
100 101 test-debugbundle.t
101 102 test-debugextensions.t
102 103 test-debugindexdot.t
103 104 test-debugrename.t
104 105 test-default-push.t
105 106 test-diff-antipatience.t
106 107 test-diff-binary-file.t
107 108 test-diff-change.t
108 109 test-diff-copy-depth.t
109 110 test-diff-hashes.t
110 111 test-diff-ignore-whitespace.t
111 112 test-diff-indent-heuristic.t
112 113 test-diff-issue2761.t
113 114 test-diff-newlines.t
114 115 test-diff-reverse.t
115 116 test-diff-subdir.t
116 117 test-diff-unified.t
117 118 test-diff-upgrade.t
118 119 test-diffdir.t
119 120 test-diffstat.t
120 121 test-directaccess.t
121 122 test-dirstate-backup.t
122 123 test-dirstate-nonnormalset.t
123 124 test-dirstate.t
124 125 test-dispatch.py
125 126 test-doctest.py
126 127 test-double-merge.t
127 128 test-drawdag.t
128 129 test-duplicateoptions.py
129 130 test-editor-filename.t
130 131 test-empty-dir.t
131 132 test-empty-file.t
132 133 test-empty-group.t
133 134 test-empty.t
134 135 test-encode.t
135 136 test-encoding-func.py
136 137 test-encoding.t
137 138 test-eol-add.t
138 139 test-eol-clone.t
139 140 test-eol-hook.t
140 141 test-eol-patch.t
141 142 test-eol-tag.t
142 143 test-eol-update.t
143 144 test-eol.t
144 145 test-eolfilename.t
145 146 test-excessive-merge.t
146 147 test-exchange-obsmarkers-case-A1.t
147 148 test-exchange-obsmarkers-case-A2.t
148 149 test-exchange-obsmarkers-case-A3.t
149 150 test-exchange-obsmarkers-case-A4.t
150 151 test-exchange-obsmarkers-case-A5.t
151 152 test-exchange-obsmarkers-case-A6.t
152 153 test-exchange-obsmarkers-case-A7.t
153 154 test-exchange-obsmarkers-case-B1.t
154 155 test-exchange-obsmarkers-case-B2.t
155 156 test-exchange-obsmarkers-case-B3.t
156 157 test-exchange-obsmarkers-case-B4.t
157 158 test-exchange-obsmarkers-case-B5.t
158 159 test-exchange-obsmarkers-case-B6.t
159 160 test-exchange-obsmarkers-case-B7.t
160 161 test-exchange-obsmarkers-case-C1.t
161 162 test-exchange-obsmarkers-case-C2.t
162 163 test-exchange-obsmarkers-case-C3.t
163 164 test-exchange-obsmarkers-case-C4.t
164 165 test-exchange-obsmarkers-case-D1.t
165 166 test-exchange-obsmarkers-case-D2.t
166 167 test-exchange-obsmarkers-case-D3.t
167 168 test-exchange-obsmarkers-case-D4.t
168 169 test-execute-bit.t
169 170 test-export.t
170 171 test-extdata.t
171 172 test-extdiff.t
172 173 test-extensions-afterloaded.t
173 174 test-extensions-wrapfunction.py
174 175 test-extra-filelog-entry.t
175 176 test-fetch.t
176 177 test-filebranch.t
177 178 test-filecache.py
178 179 test-filelog.py
179 180 test-fileset-generated.t
180 181 test-fileset.t
181 182 test-fix-topology.t
182 183 test-flags.t
183 184 test-generaldelta.t
184 185 test-getbundle.t
185 186 test-git-export.t
186 187 test-glog-beautifygraph.t
187 188 test-glog-topological.t
188 189 test-glog.t
189 190 test-gpg.t
190 191 test-graft.t
191 192 test-grep.t
192 193 test-hg-parseurl.py
193 194 test-hghave.t
194 195 test-hgignore.t
195 196 test-hgk.t
196 197 test-hgrc.t
197 198 test-hgweb-bundle.t
198 199 test-hgweb-descend-empties.t
199 200 test-hgweb-empty.t
200 201 test-hgweb-removed.t
201 202 test-hgwebdir-paths.py
202 203 test-hgwebdirsym.t
203 204 test-histedit-arguments.t
204 205 test-histedit-base.t
205 206 test-histedit-bookmark-motion.t
206 207 test-histedit-commute.t
207 208 test-histedit-drop.t
208 209 test-histedit-edit.t
209 210 test-histedit-fold-non-commute.t
210 211 test-histedit-fold.t
211 212 test-histedit-no-backup.t
212 213 test-histedit-no-change.t
213 214 test-histedit-non-commute-abort.t
214 215 test-histedit-non-commute.t
215 216 test-histedit-obsolete.t
216 217 test-histedit-outgoing.t
217 218 test-histedit-templates.t
218 219 test-http-branchmap.t
219 220 test-http-bundle1.t
220 221 test-http-clone-r.t
221 222 test-http.t
222 223 test-hybridencode.py
223 224 test-identify.t
224 225 test-impexp-branch.t
225 226 test-import-bypass.t
226 227 test-import-eol.t
227 228 test-import-merge.t
228 229 test-import-unknown.t
229 230 test-import.t
230 231 test-imports-checker.t
231 232 test-incoming-outgoing.t
232 233 test-inherit-mode.t
233 234 test-init.t
234 235 test-issue1089.t
235 236 test-issue1102.t
236 237 test-issue1175.t
237 238 test-issue1306.t
238 239 test-issue1438.t
239 240 test-issue1502.t
240 241 test-issue1802.t
241 242 test-issue1877.t
242 243 test-issue1993.t
243 244 test-issue2137.t
244 245 test-issue3084.t
245 246 test-issue4074.t
246 247 test-issue522.t
247 248 test-issue586.t
248 249 test-issue612.t
249 250 test-issue619.t
250 251 test-issue660.t
251 252 test-issue672.t
252 253 test-issue842.t
253 254 test-journal-exists.t
254 255 test-journal-share.t
255 256 test-journal.t
256 257 test-known.t
257 258 test-largefiles-cache.t
258 259 test-largefiles-misc.t
259 260 test-largefiles-small-disk.t
260 261 test-largefiles-update.t
261 262 test-largefiles.t
262 263 test-lfs-largefiles.t
263 264 test-lfs-pointer.py
264 265 test-linelog.py
265 266 test-linerange.py
266 267 test-locate.t
267 268 test-lock-badness.t
268 269 test-log-linerange.t
269 270 test-log.t
270 271 test-logexchange.t
271 272 test-lrucachedict.py
272 273 test-mactext.t
273 274 test-mailmap.t
274 275 test-manifest-merging.t
275 276 test-manifest.py
276 277 test-manifest.t
277 278 test-match.py
278 279 test-mdiff.py
279 280 test-merge-changedelete.t
280 281 test-merge-closedheads.t
281 282 test-merge-commit.t
282 283 test-merge-criss-cross.t
283 284 test-merge-default.t
284 285 test-merge-force.t
285 286 test-merge-halt.t
286 287 test-merge-internal-tools-pattern.t
287 288 test-merge-local.t
288 289 test-merge-no-file-change.t
289 290 test-merge-remove.t
290 291 test-merge-revert.t
291 292 test-merge-revert2.t
292 293 test-merge-subrepos.t
293 294 test-merge-symlinks.t
294 295 test-merge-tools.t
295 296 test-merge-types.t
296 297 test-merge1.t
297 298 test-merge10.t
298 299 test-merge2.t
299 300 test-merge4.t
300 301 test-merge5.t
301 302 test-merge6.t
302 303 test-merge7.t
303 304 test-merge8.t
304 305 test-merge9.t
305 306 test-minifileset.py
306 307 test-minirst.py
307 308 test-mq-git.t
308 309 test-mq-guards.t
309 310 test-mq-header-date.t
310 311 test-mq-header-from.t
311 312 test-mq-merge.t
312 313 test-mq-pull-from-bundle.t
313 314 test-mq-qclone-http.t
314 315 test-mq-qdelete.t
315 316 test-mq-qdiff.t
316 317 test-mq-qfold.t
317 318 test-mq-qgoto.t
318 319 test-mq-qimport-fail-cleanup.t
319 320 test-mq-qnew.t
320 321 test-mq-qpush-exact.t
321 322 test-mq-qpush-fail.t
322 323 test-mq-qqueue.t
323 324 test-mq-qrefresh-interactive.t
324 325 test-mq-qrefresh-replace-log-message.t
325 326 test-mq-qrefresh.t
326 327 test-mq-qrename.t
327 328 test-mq-qsave.t
328 329 test-mq-safety.t
329 330 test-mq-subrepo.t
330 331 test-mq-symlinks.t
331 332 test-mv-cp-st-diff.t
332 333 test-narrow-acl.t
333 334 test-narrow-archive.t
334 335 test-narrow-clone-no-ellipsis.t
335 336 test-narrow-clone-non-narrow-server.t
336 337 test-narrow-clone-nonlinear.t
337 338 test-narrow-clone.t
338 339 test-narrow-commit.t
339 340 test-narrow-copies.t
340 341 test-narrow-debugcommands.t
341 342 test-narrow-debugrebuilddirstate.t
342 343 test-narrow-exchange-merges.t
343 344 test-narrow-exchange.t
344 345 test-narrow-expanddirstate.t
345 346 test-narrow-merge.t
346 347 test-narrow-patch.t
347 348 test-narrow-patterns.t
348 349 test-narrow-pull.t
349 350 test-narrow-rebase.t
350 351 test-narrow-shallow-merges.t
351 352 test-narrow-shallow.t
352 353 test-narrow-strip.t
353 354 test-narrow-update.t
354 355 test-narrow-widen.t
355 356 test-narrow.t
356 357 test-nested-repo.t
357 358 test-newbranch.t
358 359 test-nointerrupt.t
359 360 test-obshistory.t
360 361 test-obsmarker-template.t
361 362 test-obsmarkers-effectflag.t
362 363 test-obsolete-bundle-strip.t
363 364 test-obsolete-changeset-exchange.t
364 365 test-obsolete-checkheads.t
365 366 test-obsolete-distributed.t
366 367 test-obsolete-divergent.t
367 368 test-obsolete-tag-cache.t
368 369 test-pager.t
369 370 test-parents.t
370 371 test-parseindex2.py
371 372 test-patch-offset.t
372 373 test-patch.t
373 374 test-patchbomb-bookmark.t
374 375 test-patchbomb-tls.t
375 376 test-patchbomb.t
376 377 test-pathconflicts-merge.t
377 378 test-pathconflicts-update.t
378 379 test-pathencode.py
379 380 test-pending.t
380 381 test-permissions.t
381 382 test-phases.t
382 383 test-pull-branch.t
383 384 test-pull-http.t
384 385 test-pull-permission.t
385 386 test-pull-pull-corruption.t
386 387 test-pull-r.t
387 388 test-pull-update.t
388 389 test-pull.t
389 390 test-purge.t
390 391 test-push-checkheads-partial-C1.t
391 392 test-push-checkheads-partial-C2.t
392 393 test-push-checkheads-partial-C3.t
393 394 test-push-checkheads-partial-C4.t
394 395 test-push-checkheads-pruned-B1.t
395 396 test-push-checkheads-pruned-B2.t
396 397 test-push-checkheads-pruned-B3.t
397 398 test-push-checkheads-pruned-B4.t
398 399 test-push-checkheads-pruned-B5.t
399 400 test-push-checkheads-pruned-B6.t
400 401 test-push-checkheads-pruned-B7.t
401 402 test-push-checkheads-pruned-B8.t
402 403 test-push-checkheads-superceed-A1.t
403 404 test-push-checkheads-superceed-A2.t
404 405 test-push-checkheads-superceed-A3.t
405 406 test-push-checkheads-superceed-A4.t
406 407 test-push-checkheads-superceed-A5.t
407 408 test-push-checkheads-superceed-A6.t
408 409 test-push-checkheads-superceed-A7.t
409 410 test-push-checkheads-superceed-A8.t
410 411 test-push-checkheads-unpushed-D1.t
411 412 test-push-checkheads-unpushed-D2.t
412 413 test-push-checkheads-unpushed-D3.t
413 414 test-push-checkheads-unpushed-D4.t
414 415 test-push-checkheads-unpushed-D5.t
415 416 test-push-checkheads-unpushed-D6.t
416 417 test-push-checkheads-unpushed-D7.t
417 418 test-push-http.t
418 419 test-push-warn.t
419 420 test-push.t
420 421 test-pushvars.t
421 422 test-qrecord.t
422 423 test-rebase-abort.t
423 424 test-rebase-backup.t
424 425 test-rebase-base-flag.t
425 426 test-rebase-bookmarks.t
426 427 test-rebase-brute-force.t
427 428 test-rebase-cache.t
428 429 test-rebase-check-restore.t
429 430 test-rebase-collapse.t
430 431 test-rebase-conflicts.t
431 432 test-rebase-dest.t
432 433 test-rebase-detach.t
433 434 test-rebase-emptycommit.t
434 435 test-rebase-inmemory.t
435 436 test-rebase-interruptions.t
436 437 test-rebase-issue-noparam-single-rev.t
437 438 test-rebase-legacy.t
438 439 test-rebase-mq-skip.t
439 440 test-rebase-mq.t
440 441 test-rebase-named-branches.t
441 442 test-rebase-newancestor.t
442 443 test-rebase-obsolete.t
443 444 test-rebase-parameters.t
444 445 test-rebase-partial.t
445 446 test-rebase-pull.t
446 447 test-rebase-rename.t
447 448 test-rebase-scenario-global.t
448 449 test-rebase-templates.t
449 450 test-rebase-transaction.t
450 451 test-rebuildstate.t
451 452 test-record.t
452 453 test-relink.t
453 454 test-remove.t
454 455 test-removeemptydirs.t
455 456 test-rename-after-merge.t
456 457 test-rename-dir-merge.t
457 458 test-rename-merge1.t
458 459 test-rename.t
459 460 test-repair-strip.t
460 461 test-repo-compengines.t
461 462 test-resolve.t
462 463 test-revert-flags.t
463 464 test-revert-interactive.t
464 465 test-revert-unknown.t
465 466 test-revisions.t
466 467 test-revlog-ancestry.py
467 468 test-revlog-group-emptyiter.t
468 469 test-revlog-mmapindex.t
469 470 test-revlog-packentry.t
470 471 test-revlog-raw.py
471 472 test-revlog-v2.t
472 473 test-revset-dirstate-parents.t
473 474 test-revset-legacy-lookup.t
474 475 test-revset-outgoing.t
475 476 test-rollback.t
476 477 test-run-tests.py
477 478 test-run-tests.t
478 479 test-schemes.t
479 480 test-serve.t
480 481 test-setdiscovery.t
481 482 test-share.t
482 483 test-shelve.t
483 484 test-show-stack.t
484 485 test-show-work.t
485 486 test-show.t
486 487 test-simple-update.t
487 488 test-simplekeyvaluefile.py
488 489 test-simplemerge.py
489 490 test-single-head.t
490 491 test-sparse-clear.t
491 492 test-sparse-clone.t
492 493 test-sparse-import.t
493 494 test-sparse-merges.t
494 495 test-sparse-profiles.t
495 496 test-sparse-requirement.t
496 497 test-sparse-verbose-json.t
497 498 test-sparse.t
498 499 test-split.t
499 500 test-ssh-bundle1.t
500 501 test-ssh-clone-r.t
501 502 test-ssh-proto-unbundle.t
502 503 test-ssh-proto.t
503 504 test-ssh.t
504 505 test-sshserver.py
505 506 test-stack.t
506 507 test-status-inprocess.py
507 508 test-status-rev.t
508 509 test-status-terse.t
509 510 test-strict.t
510 511 test-strip-cross.t
511 512 test-strip.t
512 513 test-subrepo-deep-nested-change.t
513 514 test-subrepo-missing.t
514 515 test-subrepo-paths.t
515 516 test-subrepo-recursion.t
516 517 test-subrepo-relative-path.t
517 518 test-subrepo.t
518 519 test-symlink-os-yes-fs-no.py
519 520 test-symlink-placeholder.t
520 521 test-symlinks.t
521 522 test-tag.t
522 523 test-tags.t
523 524 test-template-basic.t
524 525 test-template-functions.t
525 526 test-template-keywords.t
526 527 test-template-map.t
527 528 test-transplant.t
528 529 test-treemanifest.t
529 530 test-ui-color.py
530 531 test-ui-config.py
531 532 test-ui-verbosity.py
532 533 test-unamend.t
533 534 test-unbundlehash.t
534 535 test-uncommit.t
535 536 test-unified-test.t
536 537 test-unionrepo.t
537 538 test-unrelated-pull.t
538 539 test-up-local-change.t
539 540 test-update-branches.t
540 541 test-update-dest.t
541 542 test-update-issue1456.t
542 543 test-update-names.t
543 544 test-update-reverse.t
544 545 test-upgrade-repo.t
545 546 test-url-download.t
546 547 test-url-rev.t
547 548 test-url.py
548 549 test-username-newline.t
549 550 test-util.py
550 551 test-verify.t
551 552 test-walk.t
552 553 test-walkrepo.py
553 554 test-websub.t
554 555 test-win32text.t
555 556 test-wireproto-clientreactor.py
556 557 test-wireproto-framing.py
557 558 test-wireproto-serverreactor.py
558 559 test-wireproto.py
559 560 test-wsgirequest.py
560 561 test-xdg.t
@@ -1,45 +1,47 b''
1 1 #require test-repo
2 2
3 3 $ . "$TESTDIR/helpers-testrepo.sh"
4 4 $ cd "$TESTDIR"/..
5 5
6 #if no-py3k
6 7 $ testrepohg files 'set:(**.py)' \
7 8 > -X hgdemandimport/demandimportpy2.py \
8 9 > -X mercurial/thirdparty/cbor \
9 10 > | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py
10 11 contrib/python-zstandard/setup.py not using absolute_import
11 12 contrib/python-zstandard/setup_zstd.py not using absolute_import
12 13 contrib/python-zstandard/tests/common.py not using absolute_import
13 14 contrib/python-zstandard/tests/test_buffer_util.py not using absolute_import
14 15 contrib/python-zstandard/tests/test_compressor.py not using absolute_import
15 16 contrib/python-zstandard/tests/test_compressor_fuzzing.py not using absolute_import
16 17 contrib/python-zstandard/tests/test_data_structures.py not using absolute_import
17 18 contrib/python-zstandard/tests/test_data_structures_fuzzing.py not using absolute_import
18 19 contrib/python-zstandard/tests/test_decompressor.py not using absolute_import
19 20 contrib/python-zstandard/tests/test_decompressor_fuzzing.py not using absolute_import
20 21 contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import
21 22 contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import
22 23 contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
23 24 setup.py not using absolute_import
25 #endif
24 26
25 27 #if py3exe
26 28 $ testrepohg files 'set:(**.py) - grep(pygments)' \
27 29 > -X hgdemandimport/demandimportpy2.py \
28 30 > -X hgext/fsmonitor/pywatchman \
29 31 > -X mercurial/cffi \
30 32 > -X mercurial/thirdparty \
31 33 > | sed 's|\\|/|g' | xargs python3 contrib/check-py3-compat.py \
32 34 > | sed 's/[0-9][0-9]*)$/*)/'
33 35 hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) (?)
34 36 hgext/infinitepush/sqlindexapi.py: error importing: <*Error> No module named 'mysql' (error at sqlindexapi.py:*) (glob) (?)
35 37 mercurial/scmwindows.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
36 38 mercurial/win32.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
37 39 mercurial/windows.py: error importing: <ModuleNotFoundError> No module named 'msvcrt' (error at windows.py:*) (no-windows !)
38 40
39 41 #endif
40 42
41 43 #if py3exe py3pygments
42 44 $ testrepohg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
43 45 > | xargs python3 contrib/check-py3-compat.py \
44 46 > | sed 's/[0-9][0-9]*)$/*)/'
45 47 #endif
General Comments 0
You need to be logged in to leave comments. Login now