Skip to content

Commit 4070001

Browse files
authored
[tests] Merge UI test directories (#2997)
Now, UI test source and stderr files live in a structure like: - `ui/foo.rs` - `ui/foo.msrv.stderr` - `ui/foo.stable.stderr` - `ui/foo.nightly.stderr` Makes progress on #2999 gherrit-pr-id: G89ee46d6a1d97f48811d710599b089f486c85717
1 parent 350f32c commit 4070001

File tree

365 files changed

+226
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+226
-149
lines changed

ci/check_stale_stderr.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,17 @@ for dir in "${DIRS[@]}"; do
2323

2424
# Find all .stderr files
2525
while IFS= read -r -d '' stderr_file; do
26+
# Strip .stderr extension
27+
base="${stderr_file%.stderr}"
28+
29+
# Strip toolchain suffixes
30+
base="${base%.msrv}"
31+
base="${base%.stable}"
32+
base="${base%.nightly}"
33+
2634
# Construct the corresponding .rs file path
2735
rs_file="${stderr_file%.stderr}.rs"
36+
rs_file="${base}.rs"
2837

2938
# Check if the .rs file exists. The `-e` flag checks if file exists:
3039
# It returns true for regular files and valid symlinks, and false for

tests/ui-msrv/diagnostic-not-implemented-from-bytes.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-from-zeros.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-immutable.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-into-bytes.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-issue-1296.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-known-layout.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-try-from-bytes.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/diagnostic-not-implemented-unaligned.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/ui-msrv/include_value_not_from_bytes.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)