|
65 | 65 | THIRD_PARTY_DIR, VERSION_STAMP_PATH,
|
66 | 66 | GetPackageVersionForBuild)
|
67 | 67 |
|
| 68 | +EXCLUDED_TESTS = [ |
| 69 | + # Temporarily disabled due to https://github.com/rust-lang/rust/issues/94322 |
| 70 | + 'tests/ui/numeric/numeric-cast.rs', |
| 71 | + # Temporarily disabled due to https://github.com/rust-lang/rust/issues/96497 |
| 72 | + 'tests/codegen/issue-96497-slice-size-nowrap.rs', |
| 73 | + # TODO(crbug.com/1347563): Re-enable when fixed. |
| 74 | + 'tests/codegen/sanitizer-cfi-emit-type-checks.rs', |
| 75 | + 'tests/codegen/sanitizer-cfi-emit-type-metadata-itanium-cxx-abi.rs', |
| 76 | +] |
| 77 | +EXCLUDED_TESTS_WINDOWS = [ |
| 78 | + # https://github.com/rust-lang/rust/issues/96464 |
| 79 | + 'tests/codegen/vec-shrink-panik.rs' |
| 80 | +] |
| 81 | + |
68 | 82 | RUST_GIT_URL = ('https://chromium.googlesource.com/external/' +
|
69 | 83 | 'github.com/rust-lang/rust')
|
70 | 84 |
|
|
104 | 118 | 'tests/ui',
|
105 | 119 | ]
|
106 | 120 |
|
107 |
| -EXCLUDED_TESTS = [ |
108 |
| - # Temporarily disabled due to https://github.com/rust-lang/rust/issues/94322 |
109 |
| - 'src/test/ui/numeric/numeric-cast.rs', |
110 |
| - # Temporarily disabled due to https://github.com/rust-lang/rust/issues/96497 |
111 |
| - 'src/test/codegen/issue-96497-slice-size-nowrap.rs', |
112 |
| - # TODO(crbug.com/1347563): Re-enable when fixed. |
113 |
| - 'src/test/codegen/sanitizer-cfi-emit-type-checks.rs', |
114 |
| - 'src/test/codegen/sanitizer-cfi-emit-type-metadata-itanium-cxx-abi.rs', |
115 |
| -] |
116 |
| - |
117 | 121 |
|
118 | 122 | def VerifyStage0JsonHash():
|
119 | 123 | hasher = hashlib.sha256()
|
@@ -327,6 +331,10 @@ def GetTestArgs():
|
327 | 331 | for excluded in EXCLUDED_TESTS:
|
328 | 332 | args.append('--skip')
|
329 | 333 | args.append(excluded)
|
| 334 | + if sys.platform == 'win32': |
| 335 | + for excluded in EXCLUDED_TESTS_WINDOWS: |
| 336 | + args.append('--skip') |
| 337 | + args.append(excluded) |
330 | 338 | return args
|
331 | 339 |
|
332 | 340 |
|
|
0 commit comments