Skip to content

Commit df72f43

Browse files
committed
mark busted tests for aarch64-apple-darwin and aarch64-unknown-linux-gnu
1 parent b3df6dc commit df72f43

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

patches/0002-abi-cafe-Disable-broken-tests.patch

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,46 @@
1-
From 378d9e451a8af1045b8cb32841198cd5ad5464a3 Mon Sep 17 00:00:00 2001
1+
From b587616fcbd838830234e1fd43748d1a470288db Mon Sep 17 00:00:00 2001
22
From: bjorn3 <[email protected]>
33
Date: Tue, 9 Jul 2024 11:25:14 +0000
44
Subject: [PATCH] Disable broken tests
55

66
---
7-
src/abis/mod.rs | 6 +++---
8-
src/report.rs | 4 ++++
9-
2 files changed, 7 insertions(+), 3 deletions(-)
7+
src/report.rs | 36 ++++++++++++++++++++++++++++++++++++
8+
1 file changed, 36 insertions(+)
109

1110
diff --git a/src/report.rs b/src/report.rs
12-
index acfce38..b3ab842 100644
11+
index 958ab43..6fe3f50 100644
1312
--- a/src/report.rs
1413
+++ b/src/report.rs
15-
@@ -45,6 +45,26 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn AbiImpl, callee: &dyn AbiImpl
14+
@@ -48,6 +48,42 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
1615
//
1716
// THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
1817

19-
+ if cfg!(target_arch = "aarch64") && test.test == "F32Array" && test.options.convention == CallingConvention::C {
20-
+ result.check = Busted(Check);
21-
+ }
18+
+ if cfg!(all(target_arch = "aarch64", target_os = "linux")) {
19+
+ if test.test == "F32Array" && test.options.convention == CallingConvention::C {
20+
+ result.check = Busted(Check);
21+
+ }
22+
+
23+
+ if test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
24+
+ result.check = Busted(Check);
25+
+ }
2226
+
23-
+ if cfg!(target_arch = "aarch64") && test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
24-
+ result.check = Busted(Check);
27+
+ if test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {
28+
+ result.check = Busted(Run);
29+
+ }
2530
+ }
2631
+
27-
+ if cfg!(target_arch = "x86_64") && test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {
28-
+ result.check = Busted(Run);
32+
+ if cfg!(all(target_arch = "aarch64", target_os = "macos")) {
33+
+ if test.test == "SingleVariantUnion" && test.options.convention == CallingConvention::C && test.options.repr == LangRepr::C {
34+
+ result.check = Busted(Check);
35+
+ }
36+
+
37+
+ if test.test == "OptionU128" && test.caller == "rustc" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
38+
+ result.check = Busted(Run);
39+
+ }
40+
+
41+
+ if test.test == "OptionU128" && test.caller == "cgclif" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
42+
+ result.check = Busted(Check);
43+
+ }
2944
+ }
3045
+
3146
+ if cfg!(windows) && (test.test == "OptionU128" || test.test == "I64Array" || test.test == "simple") {

0 commit comments

Comments
 (0)