@@ -4,7 +4,7 @@ Date: Tue, 9 Jul 2024 11:25:14 +0000
44Subject: [PATCH] Disable broken tests
55
66---
7- src/report.rs | 36 ++++++++++++++++++++++++++++++++++++
7+ src/harness/ report.rs | 36 ++++++++++++++++++++++++++++++++++++
88 1 file changed, 36 insertions(+)
99
1010diff --git a/src/toolchains/rust.rs b/src/toolchains/rust.rs
@@ -14,56 +14,56 @@ index 0c50f7a..bfde2b1 100644
1414@@ -83,6 +83,7 @@ impl Toolchain for RustcToolchain {
1515 .arg(out_dir)
1616 .arg("--target")
17- .arg(built_info::TARGET )
17+ .arg(&self.platform_info.target )
1818+ .arg("-g")
1919 .arg(format!("-Cmetadata={lib_name}"))
2020 .arg(src_path);
2121 if let Some(codegen_backend) = &self.codegen_backend {
22- diff --git a/src/report.rs b/src/report.rs
22+ diff --git a/src/harness/ report.rs b/src/harness /report.rs
2323index 958ab43..dcf1044 100644
24- --- a/src/report.rs
25- +++ b/src/report.rs
24+ --- a/src/harness/ report.rs
25+ +++ b/src/harness/ report.rs
2626@@ -48,6 +48,40 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
27- //
28- // THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
27+ //
28+ // THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
2929
30- + if cfg!(all(target_arch = "aarch64", target_os = "linux")) {
31- + if test.test == "F32Array" && test.options.convention == CallingConvention::C {
32- + result.check = Busted(Check);
30+ + if cfg!(all(target_arch = "aarch64", target_os = "linux")) {
31+ + if key.test == "F32Array" && key.options.convention == CallingConvention::C {
32+ + result.check = Busted(Check);
33+ + }
3334+ }
34- + }
3535+
36- + if cfg!(all(target_arch = "aarch64", target_os = "macos")) {
37- + if test .test == "SingleVariantUnion" && test .options.convention == CallingConvention::C && test .options.repr == LangRepr::C {
38- + result.check = Busted(Check);
39- + }
36+ + if cfg!(all(target_arch = "aarch64", target_os = "macos")) {
37+ + if key .test == "SingleVariantUnion" && key .options.convention == CallingConvention::C && key .options.repr == LangRepr::C {
38+ + result.check = Busted(Check);
39+ + }
4040+
41- + if test .test == "OptionU128" && test .caller == "rustc" && test .options.convention == CallingConvention::Rust && test .options.repr == LangRepr::C {
42- + result.check = Busted(Run);
43- + }
41+ + if key .test == "OptionU128" && key .caller == "rustc" && key .options.convention == CallingConvention::Rust && key .options.repr == LangRepr::C {
42+ + result.check = Busted(Run);
43+ + }
4444+
45- + if test.test == "OptionU128" && test.caller == "cgclif" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
46- + result.check = Busted(Check);
45+ + if key.test == "OptionU128" && key.caller == "cgclif" && key.options.convention == CallingConvention::Rust && key.options.repr == LangRepr::C {
46+ + result.check = Busted(Check);
47+ + }
4748+ }
48- + }
4949+
50- + if cfg!(all(target_arch = "x86_64", windows)) {
51- + if test .test == "simple" && test .options.convention == CallingConvention::Rust {
52- + result.check = Busted(Check);
53- + }
50+ + if cfg!(all(target_arch = "x86_64", windows)) {
51+ + if key .test == "simple" && key .options.convention == CallingConvention::Rust {
52+ + result.check = Busted(Check);
53+ + }
5454+
55- + if test.test == "simple" && test.options.convention == CallingConvention::Rust && test.caller == "rustc" {
56- + result.check = Busted(Run);
55+ + if key.test == "simple" && key.options.convention == CallingConvention::Rust && key.caller == "rustc" {
56+ + result.check = Busted(Run);
57+ + }
5758+ }
58- + }
5959+
60- + if test .test == "f16" || test .test == "f128" {
61- + result.run = Skip;
62- + }
60+ + if key .test == "f16" || key .test == "f128" {
61+ + result.run = Skip;
62+ + }
6363+
64- // END OF VENDOR RESERVED AREA
65- //
66- //
64+ // END OF VENDOR RESERVED AREA
65+ //
66+ //
6767- -
68682.34.1
6969
0 commit comments