@@ -4,7 +4,7 @@ Date: Tue, 9 Jul 2024 11:25:14 +0000
4
4
Subject: [PATCH] Disable broken tests
5
5
6
6
---
7
- src/report.rs | 36 ++++++++++++++++++++++++++++++++++++
7
+ src/harness/ report.rs | 36 ++++++++++++++++++++++++++++++++++++
8
8
1 file changed, 36 insertions(+)
9
9
10
10
diff --git a/src/toolchains/rust.rs b/src/toolchains/rust.rs
@@ -14,56 +14,56 @@ index 0c50f7a..bfde2b1 100644
14
14
@@ -83,6 +83,7 @@ impl Toolchain for RustcToolchain {
15
15
.arg(out_dir)
16
16
.arg("--target")
17
- .arg(built_info::TARGET )
17
+ .arg(&self.platform_info.target )
18
18
+ .arg("-g")
19
19
.arg(format!("-Cmetadata={lib_name}"))
20
20
.arg(src_path);
21
21
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
23
23
index 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
26
26
@@ -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
29
29
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
+ + }
33
34
+ }
34
- + }
35
35
+
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
+ + }
40
40
+
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
+ + }
44
44
+
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
+ + }
47
48
+ }
48
- + }
49
49
+
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
+ + }
54
54
+
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
+ + }
57
58
+ }
58
- + }
59
59
+
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
+ + }
63
63
+
64
- // END OF VENDOR RESERVED AREA
65
- //
66
- //
64
+ // END OF VENDOR RESERVED AREA
65
+ //
66
+ //
67
67
- -
68
68
2.34.1
69
69
0 commit comments