Skip to content

Commit ed93c17

Browse files
Rename tests/assembly into tests/assembly-llvm
1 parent c0b282f commit ed93c17

File tree

124 files changed

+22
-17
lines changed

Some content is hidden

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

124 files changed

+22
-17
lines changed

compiler/rustc_codegen_gcc/build_system/src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ fn asm_tests(env: &Env, args: &TestArg) -> Result<(), String> {
588588
&"always",
589589
&"--stage",
590590
&"0",
591-
&"tests/assembly/asm",
591+
&"tests/assembly-llvm/asm",
592592
&"--compiletest-rustc-args",
593593
&rustc_args,
594594
],

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,12 @@ test!(Pretty {
14071407

14081408
test!(RunMake { path: "tests/run-make", mode: "run-make", suite: "run-make", default: true });
14091409

1410-
test!(Assembly { path: "tests/assembly", mode: "assembly", suite: "assembly", default: true });
1410+
test!(AssemblyLlvm {
1411+
path: "tests/assembly-llvm",
1412+
mode: "assembly",
1413+
suite: "assembly-llvm",
1414+
default: true
1415+
});
14111416

14121417
/// Runs the coverage test suite at `tests/coverage` in some or all of the
14131418
/// coverage test modes.

src/bootstrap/src/core/builder/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ const PATH_REMAP: &[(&str, &[&str])] = &[
411411
"tests",
412412
&[
413413
// tidy-alphabetical-start
414-
"tests/assembly",
414+
"tests/assembly-llvm",
415415
"tests/codegen",
416416
"tests/codegen-units",
417417
"tests/coverage",
@@ -1051,7 +1051,7 @@ impl<'a> Builder<'a> {
10511051
test::MirOpt,
10521052
test::Codegen,
10531053
test::CodegenUnits,
1054-
test::Assembly,
1054+
test::AssemblyLlvm,
10551055
test::Incremental,
10561056
test::Debuginfo,
10571057
test::UiFullDeps,

src/ci/docker/host-x86_64/test-various/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ ENV WASM_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $WASM_T
6666
tests/mir-opt \
6767
tests/codegen-units \
6868
tests/codegen \
69-
tests/assembly \
69+
tests/assembly-llvm \
7070
library/core
7171

7272
ENV NVPTX_TARGETS=nvptx64-nvidia-cuda
7373
ENV NVPTX_SCRIPT python3 /checkout/x.py --stage 2 test --host='' --target $NVPTX_TARGETS \
7474
tests/run-make \
75-
tests/assembly
75+
tests/assembly-llvm
7676

7777
ENV MUSL_TARGETS=x86_64-unknown-linux-musl \
7878
CC_x86_64_unknown_linux_musl=x86_64-linux-musl-gcc \

src/doc/rustc-dev-guide/src/asm.md

Lines changed: 2 additions & 2 deletions

src/doc/rustc-dev-guide/src/tests/compiletest.md

Lines changed: 2 additions & 2 deletions

src/tools/opt-dist/src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ llvm-config = "{llvm_config}"
100100
env.host_tuple(),
101101
"--stage",
102102
"0",
103-
"tests/assembly",
103+
"tests/assembly-llvm",
104104
"tests/codegen",
105105
"tests/codegen-units",
106106
"tests/incremental",

src/tools/tidy/src/target_policy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::path::Path;
88
use crate::walk::{filter_not_rust, walk};
99

1010
const TARGET_DEFINITIONS_PATH: &str = "compiler/rustc_target/src/spec/targets/";
11-
const ASSEMBLY_TEST_PATH: &str = "tests/assembly/targets/";
11+
const ASSEMBLY_LLVM_TEST_PATH: &str = "tests/assembly-llvm/targets/";
1212
const REVISION_LINE_START: &str = "//@ revisions: ";
1313
const EXCEPTIONS: &[&str] = &[
1414
// FIXME: disabled since it fails on CI saying the csky component is missing
@@ -43,7 +43,7 @@ pub fn check(root_path: &Path, bad: &mut bool) {
4343
let _ = targets_to_find.insert(target_name);
4444
}
4545

46-
walk(&root_path.join(ASSEMBLY_TEST_PATH), |_, _| false, &mut |_, contents| {
46+
walk(&root_path.join(ASSEMBLY_LLVM_TEST_PATH), |_, _| false, &mut |_, contents| {
4747
for line in contents.lines() {
4848
let Some(_) = line.find(REVISION_LINE_START) else {
4949
continue;
@@ -55,7 +55,7 @@ pub fn check(root_path: &Path, bad: &mut bool) {
5555

5656
for target in targets_to_find {
5757
if !EXCEPTIONS.contains(&target.as_str()) {
58-
tidy_error!(bad, "{ASSEMBLY_TEST_PATH}: missing assembly test for {target}")
58+
tidy_error!(bad, "{ASSEMBLY_LLVM_TEST_PATH}: missing assembly test for {target}")
5959
}
6060
}
6161
}
File renamed without changes.

0 commit comments

Comments
 (0)