summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest
diff options
context:
space:
mode:
authorYash Shinde <Yash.Shinde@windriver.com>2024-08-29 01:33:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-29 21:58:19 +0100
commit94a6eeda53f3040cd311085a72dd4d8e9fba0fac (patch)
tree74b63ee35f5ac21ce75f49f750741871f9b1d2d8 /meta/lib/oeqa/selftest
parent9da30a87536c5e3e5778dd6c287a23a9d568cede (diff)
downloadpoky-94a6eeda53f3040cd311085a72dd4d8e9fba0fac.tar.gz
rust: Oe-selftest changes for rust v1.79
* Sort the exclude list in alphabetical order. * Add some of the upsupported/failing tests to the exclude list and ignore the failing unit tests. * Remove duplicated tests from the exclude list. * Testing summary Target PASS SKIPPED ARM 17241 599 ARM64 17279 561 MIPS64 17228 612 PPC 17194 629 X86 17257 583 X86-64 17416 424 (From OE-Core rev: 61ec0f0f78d9db4c3fc02365713d5fd77b78a7ea) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest')
-rw-r--r--meta/lib/oeqa/selftest/cases/rust.py170
1 files changed, 82 insertions, 88 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
index aa5814eccf..09487e3e23 100644
--- a/meta/lib/oeqa/selftest/cases/rust.py
+++ b/meta/lib/oeqa/selftest/cases/rust.py
@@ -67,10 +67,21 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
67 # then runs tidy checks. 67 # then runs tidy checks.
68 exclude_list = [ 68 exclude_list = [
69 'compiler/rustc', 69 'compiler/rustc',
70 'compiler/rustc_errors/src/markdown/tests/term.rs',
71 'compiler/rustc_expand',
70 'compiler/rustc_interface/src/tests.rs', 72 'compiler/rustc_interface/src/tests.rs',
73 'compiler/rustc_span',
71 'library/panic_abort', 74 'library/panic_abort',
72 'library/panic_unwind', 75 'library/panic_unwind',
76 'library/std/src/io/buffered/tests.rs',
77 'library/std/src/io/stdio/tests.rs',
78 'library/std/src/sync/mpsc/sync_tests.rs',
79 'library/std/src/sync/mpsc/tests.rs',
80 'library/std/src/sync/mutex/tests.rs',
81 'library/std/src/sync/rwlock/tests.rs',
82 'library/std/src/thread/tests.rs',
73 'library/test/src/stats/tests.rs', 83 'library/test/src/stats/tests.rs',
84 'src/bootstrap',
74 'src/bootstrap/builder/tests.rs', 85 'src/bootstrap/builder/tests.rs',
75 'src/doc/rustc', 86 'src/doc/rustc',
76 'src/doc/rustdoc', 87 'src/doc/rustdoc',
@@ -78,39 +89,100 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
78 'src/librustdoc', 89 'src/librustdoc',
79 'src/rustdoc-json-types', 90 'src/rustdoc-json-types',
80 'src/tools/compiletest/src/common.rs', 91 'src/tools/compiletest/src/common.rs',
92 'src/tools/jsondoclint',
81 'src/tools/lint-docs', 93 'src/tools/lint-docs',
94 'src/tools/replace-version-placeholder',
82 'src/tools/rust-analyzer', 95 'src/tools/rust-analyzer',
83 'src/tools/rustdoc-themes', 96 'src/tools/rustdoc-themes',
97 'src/tools/rust-installer',
98 'src/tools/suggest-tests',
84 'src/tools/tidy', 99 'src/tools/tidy',
100 'src/tools/tidy/src/',
85 'tests/assembly/asm/aarch64-outline-atomics.rs', 101 'tests/assembly/asm/aarch64-outline-atomics.rs',
102 'tests/codegen/abi-efiapi.rs',
86 'tests/codegen/abi-main-signature-32bit-c-int.rs', 103 'tests/codegen/abi-main-signature-32bit-c-int.rs',
87 'tests/codegen/abi-repr-ext.rs', 104 'tests/codegen/abi-repr-ext.rs',
105 'tests/codegen/abi-sysv64.rs',
88 'tests/codegen/abi-x86-interrupt.rs', 106 'tests/codegen/abi-x86-interrupt.rs',
107 'tests/codegen/adjustments.rs',
108 'tests/codegen/align-byval.rs',
109 'tests/codegen/align-fn.rs',
110 'tests/codegen/ascii-char.rs',
111 'tests/codegen/asm-powerpc-clobbers.rs',
112 'tests/codegen/async-fn-debug-awaitee-field.rs',
113 'tests/codegen/binary-search-index-no-bound-check.rs',
114 'tests/codegen/bool-cmp.rs',
89 'tests/codegen/branch-protection.rs', 115 'tests/codegen/branch-protection.rs',
116 'tests/codegen/call-metadata.rs',
90 'tests/codegen/catch-unwind.rs', 117 'tests/codegen/catch-unwind.rs',
91 'tests/codegen/cf-protection.rs', 118 'tests/codegen/cf-protection.rs',
119 'tests/codegen/coercions.rs',
120 'tests/codegen/cold-call-declare-and-call.rs',
121 'tests/codegen/common_prim_int_ptr.rs',
122 'tests/codegen/const_scalar_pair.rs',
123 'tests/codegen/consts.rs',
124 'tests/codegen/debug-accessibility/public-enum.rs',
125 'tests/codegen/debug-accessibility/tuple-fields.rs',
126 'tests/codegen/debug-alignment.rs',
127 'tests/codegen/debug-column.rs',
128 'tests/codegen/debuginfo-generic-closure-env-names.rs',
129 'tests/codegen/debuginfo-inline-callsite-location.rs',
130 'tests/codegen/debug-limited.rs',
131 'tests/codegen/default-requires-uwtable.rs',
132 'tests/codegen/drop.rs',
133 'tests/codegen/dst-vtable-align-nonzero.rs',
134 'tests/codegen/enable-lto-unit-splitting.rs',
92 'tests/codegen/enum-bounds-check-derived-idx.rs', 135 'tests/codegen/enum-bounds-check-derived-idx.rs',
136 'tests/codegen/enum/enum-bounds-check.rs',
137 'tests/codegen/enum/enum-debug-tagged.rs',
138 'tests/codegen/enum/enum-u128.rs',
139 'tests/codegen/export-no-mangle.rs',
140 'tests/codegen/fastcall-inreg.rs',
141 'tests/codegen/float_math.rs',
142 'tests/codegen/fn-impl-trait-self.rs',
93 'tests/codegen/force-unwind-tables.rs', 143 'tests/codegen/force-unwind-tables.rs',
144 'tests/codegen/frame-pointer.rs',
145 'tests/codegen/i128-x86-align.rs',
146 'tests/codegen/inherit_overflow.rs',
147 'tests/codegen/inline-function-args-debug-info.rs',
94 'tests/codegen/intrinsic-no-unnamed-attr.rs', 148 'tests/codegen/intrinsic-no-unnamed-attr.rs',
149 'tests/codegen/intrinsics/mask.rs',
150 'tests/codegen/intrinsics/transmute-niched.rs',
151 'tests/codegen/issues',
95 'tests/codegen/issues/issue-103840.rs', 152 'tests/codegen/issues/issue-103840.rs',
153 'tests/codegen/issues/issue-122805.rs',
96 'tests/codegen/issues/issue-47278.rs', 154 'tests/codegen/issues/issue-47278.rs',
155 'tests/codegen/issues/issue-73258.rs',
97 'tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs', 156 'tests/codegen/issues/issue-73827-bounds-check-index-in-subexpr.rs',
157 'tests/codegen/issues/issue-75546.rs',
158 'tests/codegen/issues/issue-77812.rs',
159 'tests/codegen/issues/issue-98156-const-arg-temp-lifetime.rs',
98 'tests/codegen/lifetime_start_end.rs', 160 'tests/codegen/lifetime_start_end.rs',
161 'tests/codegen/llvm-ident.rs',
99 'tests/codegen/local-generics-in-exe-internalized.rs', 162 'tests/codegen/local-generics-in-exe-internalized.rs',
163 'tests/codegen/macos/x86_64-macosx-deployment-target.rs',
164 'tests/codegen/mainsubprogram.rs',
100 'tests/codegen/match-unoptimized.rs', 165 'tests/codegen/match-unoptimized.rs',
166 'tests/codegen/meta-filecheck/check-prefix.rs',
167 'tests/codegen/meta-filecheck/filecheck-flags.rs',
168 'tests/codegen/move-operands.rs',
101 'tests/codegen/noalias-rwlockreadguard.rs', 169 'tests/codegen/noalias-rwlockreadguard.rs',
170 'tests/codegen/non-terminate/infinite-loop-1.rs',
102 'tests/codegen/non-terminate/nonempty-infinite-loop.rs', 171 'tests/codegen/non-terminate/nonempty-infinite-loop.rs',
103 'tests/codegen/noreturn-uninhabited.rs', 172 'tests/codegen/noreturn-uninhabited.rs',
104 'tests/codegen/repr-transparent-aggregates-3.rs', 173 'tests/codegen/repr-transparent-aggregates-3.rs',
174 'tests/codegen/repr/transparent-mips64.rs',
105 'tests/codegen/riscv-abi/call-llvm-intrinsics.rs', 175 'tests/codegen/riscv-abi/call-llvm-intrinsics.rs',
106 'tests/codegen/riscv-abi/riscv64-lp64f-lp64d-abi.rs',
107 'tests/codegen/riscv-abi/riscv64-lp64d-abi.rs', 176 'tests/codegen/riscv-abi/riscv64-lp64d-abi.rs',
177 'tests/codegen/riscv-abi/riscv64-lp64f-lp64d-abi.rs',
108 'tests/codegen/sse42-implies-crc32.rs', 178 'tests/codegen/sse42-implies-crc32.rs',
109 'tests/codegen/thread-local.rs', 179 'tests/codegen/thread-local.rs',
110 'tests/codegen/uninit-consts.rs', 180 'tests/codegen/uninit-consts.rs',
181 'tests/mir-opt/',
111 'tests/pretty/raw-str-nonexpr.rs', 182 'tests/pretty/raw-str-nonexpr.rs',
112 'tests/run-make', 183 'tests/run-make',
113 'tests/run-make-fulldeps', 184 'tests/run-make-fulldeps',
185 'tests/run-pass-valgrind',
114 'tests/rustdoc', 186 'tests/rustdoc',
115 'tests/rustdoc-json', 187 'tests/rustdoc-json',
116 'tests/rustdoc-js-std', 188 'tests/rustdoc-js-std',
@@ -133,111 +205,33 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
133 'tests/rustdoc-ui/test-no_std.rs', 205 'tests/rustdoc-ui/test-no_std.rs',
134 'tests/rustdoc-ui/test-type.rs', 206 'tests/rustdoc-ui/test-type.rs',
135 'tests/rustdoc/unit-return.rs', 207 'tests/rustdoc/unit-return.rs',
208 'tests/ui/abi/extern',
136 'tests/ui/abi/stack-probes-lto.rs', 209 'tests/ui/abi/stack-probes-lto.rs',
137 'tests/ui/abi/stack-probes.rs', 210 'tests/ui/abi/stack-probes.rs',
211 'tests/ui/allocator',
212 'tests/ui/array-slice-vec',
138 'tests/ui/array-slice-vec/subslice-patterns-const-eval-match.rs', 213 'tests/ui/array-slice-vec/subslice-patterns-const-eval-match.rs',
139 'tests/ui/asm/x86_64/sym.rs', 214 'tests/ui/asm/x86_64/sym.rs',
215 'tests/ui/associated-consts',
140 'tests/ui/associated-type-bounds/fn-apit.rs', 216 'tests/ui/associated-type-bounds/fn-apit.rs',
141 'tests/ui/associated-type-bounds/fn-dyn-apit.rs', 217 'tests/ui/associated-type-bounds/fn-dyn-apit.rs',
142 'tests/ui/associated-type-bounds/fn-wrap-apit.rs', 218 'tests/ui/associated-type-bounds/fn-wrap-apit.rs',
219 'tests/ui/associated-types',
220 'tests/ui/codegen/mismatched-data-layouts.rs',
143 'tests/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs', 221 'tests/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs',
144 'tests/ui/drop/dynamic-drop.rs', 222 'tests/ui/drop/dynamic-drop.rs',
145 'tests/ui/empty_global_asm.rs', 223 'tests/ui/empty_global_asm.rs',
224 'tests/ui-fulldeps/',
146 'tests/ui/functions-closures/fn-help-with-err.rs', 225 'tests/ui/functions-closures/fn-help-with-err.rs',
147 'tests/ui/linkage-attr/issue-10755.rs', 226 'tests/ui/linkage-attr/issue-10755.rs',
148 'tests/ui/macros/restricted-shadowing-legacy.rs', 227 'tests/ui/macros/restricted-shadowing-legacy.rs',
228 'tests/ui/numbers-arithmetic/u128.rs',
149 'tests/ui/process/nofile-limit.rs', 229 'tests/ui/process/nofile-limit.rs',
150 'tests/ui/process/process-panic-after-fork.rs', 230 'tests/ui/process/process-panic-after-fork.rs',
151 'tests/ui/process/process-sigpipe.rs', 231 'tests/ui/process/process-sigpipe.rs',
152 'tests/ui/simd/target-feature-mixup.rs', 232 'tests/ui/simd/target-feature-mixup.rs',
153 'tests/ui/structs-enums/multiple-reprs.rs', 233 'tests/ui/structs-enums/multiple-reprs.rs',
154 'src/tools/jsondoclint', 234 'tidyselftest'
155 'src/tools/replace-version-placeholder',
156 'tests/codegen/abi-efiapi.rs',
157 'tests/codegen/abi-sysv64.rs',
158 'tests/codegen/align-byval.rs',
159 'tests/codegen/align-fn.rs',
160 'tests/codegen/asm-powerpc-clobbers.rs',
161 'tests/codegen/async-fn-debug-awaitee-field.rs',
162 'tests/codegen/binary-search-index-no-bound-check.rs',
163 'tests/codegen/call-metadata.rs',
164 'tests/codegen/debug-column.rs',
165 'tests/codegen/debug-limited.rs',
166 'tests/codegen/debuginfo-generic-closure-env-names.rs',
167 'tests/codegen/drop.rs',
168 'tests/codegen/dst-vtable-align-nonzero.rs',
169 'tests/codegen/enable-lto-unit-splitting.rs',
170 'tests/codegen/enum/enum-u128.rs',
171 'tests/codegen/fn-impl-trait-self.rs',
172 'tests/codegen/inherit_overflow.rs',
173 'tests/codegen/inline-function-args-debug-info.rs',
174 'tests/codegen/intrinsics/mask.rs',
175 'tests/codegen/intrinsics/transmute-niched.rs',
176 'tests/codegen/issues/issue-73258.rs',
177 'tests/codegen/issues/issue-75546.rs',
178 'tests/codegen/issues/issue-77812.rs',
179 'tests/codegen/issues/issue-98156-const-arg-temp-lifetime.rs',
180 'tests/codegen/llvm-ident.rs',
181 'tests/codegen/mainsubprogram.rs',
182 'tests/codegen/move-operands.rs',
183 'tests/codegen/repr/transparent-mips64.rs',
184 'tests/mir-opt/',
185 'tests/rustdoc-json',
186 'tests/rustdoc-ui/doc-test-rustdoc-feature.rs',
187 'tests/rustdoc-ui/no-run-flag.rs',
188 'tests/ui-fulldeps/',
189 'tests/ui/numbers-arithmetic/u128.rs'
190 'tests/run-pass-valgrind',
191 'tests/ui/codegen/mismatched-data-layouts.rs',
192 'tests/codegen/i128-x86-align.rs',
193 'src/tools/suggest-tests',
194 'src/tools/rust-installer',
195 'src/bootstrap',
196 'src/tools/tidy/src/',
197 'library/std/src/thread/tests.rs',
198 'compiler/rustc_errors/src/markdown/tests/term.rs',
199 'compiler/rustc_interface/src/tests.rs',
200 'library/std/src/io/buffered/tests.rs',
201 'library/std/src/io/stdio/tests.rs',
202 'library/std/src/sync/mpsc/sync_tests.rs',
203 'library/std/src/sync/mpsc/tests.rs',
204 'library/std/src/sync/mutex/tests.rs',
205 'library/std/src/sync/rwlock/tests.rs',
206 'library/std/src/thread/tests.rs',
207 'library/test/src/stats/tests.rs',
208 'tidyselftest',
209 'compiler/rustc_span',
210 'compiler/rustc_expand',
211 'tests/ui/array-slice-vec',
212 'tests/ui/associated-consts',
213 'tests/ui/associated-types',
214 'tests/ui/allocator',
215 'tests/ui/abi/extern',
216 'tests/codegen/non-terminate/infinite-loop-1.rs',
217 'tests/codegen/coercions.rs',
218 'tests/codegen/const_scalar_pair.rs',
219 'tests/codegen/cold-call-declare-and-call.rs',
220 'tests/codegen/issues',
221 'tests/codegen/bool-cmp.rs',
222 'tests/codegen/ascii-char.rs',
223 'tests/codegen/frame-pointer.rs',
224 'tests/codegen/common_prim_int_ptr.rs',
225 'tests/codegen/default-requires-uwtable.rs',
226 'tests/codegen/debug-accessibility/public-enum.rs',
227 'tests/codegen/meta-filecheck/filecheck-flags.rs',
228 'tests/codegen/float_math.rs',
229 'tests/codegen/debug-accessibility/tuple-fields.rs',
230 'tests/codegen/consts.rs',
231 'tests/codegen/enum/enum-bounds-check.rs',
232 'tests/codegen/debug-alignment.rs',
233 'tests/codegen/export-no-mangle.rs',
234 'tests/codegen/fastcall-inreg.rs',
235 'tests/codegen/debuginfo-inline-callsite-location.rs',
236 'tests/codegen/enum/enum-debug-tagged.rs',
237 'tests/codegen/adjustments.rs',
238 'tests/codegen/macos/x86_64-macosx-deployment-target.rs',
239 'tests/codegen/frame-pointer.rs',
240 'tests/codegen/meta-filecheck/check-prefix.rs'
241 ] 235 ]
242 236
243 exclude_fail_tests = " ".join([" --exclude " + item for item in exclude_list]) 237 exclude_fail_tests = " ".join([" --exclude " + item for item in exclude_list])