rust/tests/ui/codegen
Jens Reidel ae1b1b4f8a
tests: Fix duplicated-path-in-error fail with musl
musl's dlopen returns a different error than glibc, which contains the
name of the file. This would cause the test to fail, since the filename
would appear twice in the output (once in the error from rustc, once in
the error message from musl). Split the expected test outputs for the
different libc implementations.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-07-14 18:37:49 +02:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
equal-pointers-unequal Auto merge of #136264 - GuillaumeGomez:optimize-integers-to-string, r=Amanieu 2025-05-15 20:20:30 +00:00
alias-uninit-value.rs Adjust alias-uninit-value.rs 2024-12-10 11:20:19 +08:00
assign-expr-unit-type.rs Move assign-assign.rs to tests/ui/codegen/assign-expr-unit-type.rs 2024-12-08 15:32:04 +08:00
cfguard-run.rs Move tests from /ui directory 2025-04-29 18:19:26 +02:00
const-bool-bitcast.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
duplicated-path-in-error.gnu.stderr tests: Fix duplicated-path-in-error fail with musl 2025-07-14 18:37:49 +02:00
duplicated-path-in-error.musl.stderr tests: Fix duplicated-path-in-error fail with musl 2025-07-14 18:37:49 +02:00
duplicated-path-in-error.rs tests: Fix duplicated-path-in-error fail with musl 2025-07-14 18:37:49 +02:00
empty-static-libs-issue-108825.rs UI tests: migrate remaining compile time error-patterns to line annotations 2025-04-13 21:48:53 +03:00
freeze-on-polymorphic-projection.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
freeze-on-polymorphic-projection.stderr Check freeze with right param-env 2023-04-16 23:09:57 +00:00
init-large-type.rs tests: remove //@ pretty-expanded usages 2024-11-26 02:50:48 +08:00
issue-16602-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-16602-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-16602-3.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-27859.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
issue-28950.rs compiletest: Add a //@ needs-threads directive 2024-03-06 12:35:07 -08:00
issue-55976.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-63787.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-64401.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-79865-llvm-miscompile.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-82833-slice-miscompile.rs Deprecate no-op codegen option -Cinline-threshold=... 2024-06-14 20:25:17 +02:00
issue-82859-slice-miscompile.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-88043-bb-does-not-have-terminator.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-97708.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-99551.rs remove feature(trait_upcasting) from tests and bless them 2025-02-06 23:44:23 +01:00
issue-101585-128bit-repeat.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
llvm-args-invalid-flag.rs moved tests 2025-07-01 23:33:59 +05:00
llvm-args-invalid-flag.stderr moved tests 2025-07-01 23:33:59 +05:00
llvm-pr32379.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
maximal-hir-to-mir-coverage-flag.rs cleaned up some tests 2025-06-30 12:45:47 +05:00
mismatched-data-layout.json ensure JSON-defined targets are consistent 2024-11-27 10:13:36 +01:00
mismatched-data-layouts.rs tests: {Meta,Pointee}Sized in non-minicore tests 2025-06-16 23:04:33 +00:00
mismatched-data-layouts.stderr ensure JSON-defined targets are consistent 2024-11-27 10:13:36 +01:00
mono-impossible-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mono-impossible-drop.rs Fix ProvenVia for global where clauses 2025-04-05 16:23:25 +00:00
mono-impossible.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mono-respects-abi-alignment.rs cleaned up some tests 2025-06-30 11:23:01 +05:00
msvc-opt-level-z-no-corruption.rs cleaned up some tests 2025-06-30 11:23:01 +05:00
no-mangle-on-internal-lang-items.rs error when using no_mangle on language items 2025-04-30 14:54:10 +03:00
no-mangle-on-internal-lang-items.stderr error when using no_mangle on language items 2025-04-30 14:54:10 +03:00
no-mangle-on-panic-handler.rs error when using no_mangle on language items 2025-04-30 14:54:10 +03:00
no-mangle-on-panic-handler.stderr error when using no_mangle on language items 2025-04-30 14:54:10 +03:00
output-slot-init-vs-noninit.rs cleaned up some tests 2025-07-05 03:46:08 +05:00
overflow-during-mono.rs re-use sized fast path 2025-04-09 10:42:26 +00:00
overflow-during-mono.stderr re-use sized fast path 2025-04-09 10:42:26 +00:00
ref-dyn-trait-in-structs-and-enums.rs Cleaned up 4 tests in tests/ui/issues 2025-04-19 01:10:26 -06:00
remark-flag-functionality.rs cleaned up some tests 2025-07-05 03:46:08 +05:00
rvalue-mut-ref-box-drop.rs cleaned up some tests 2025-06-04 17:48:50 +05:00
shift-right-operand-mutation.rs cleaned up some tests 2025-07-05 03:46:08 +05:00
sret-aliasing-rules.rs cleaned up some tests 2025-07-05 03:46:08 +05:00
StackColoring-not-blowup-stack-issue-40883.rs Rename and Move some UI tests to more suitable subdirs 2025-02-04 17:02:37 +05:30
sub-principals-in-codegen.rs Relax a debug assertion in codegen 2024-09-30 12:18:02 -04:00
subtyping-enforces-type-equality.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
subtyping-impacts-selection-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
subtyping-impacts-selection-2.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
target-cpus.rs Remove the -test suffix from normalize directives 2024-12-27 19:58:16 +11:00
target-cpus.stdout Add ui test of LLVM print-from-C++ changes 2023-07-20 11:04:31 -07:00
virtual-function-elimination.rs fix ices on vfe about principal trait 2024-09-23 15:25:52 +08:00