Skip to content

Commit 1f19cdf

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

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

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

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,42 @@
1-
From 378d9e451a8af1045b8cb32841198cd5ad5464a3 Mon Sep 17 00:00:00 2001
1+
From 236df390f3bc4ed69c26f4d51d584bea246da886 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..dcf1044 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);
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+
+ }
2126
+ }
2227
+
23-
+ if cfg!(target_arch = "aarch64") && test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
24-
+ result.check = Busted(Check);
28+
+ if cfg!(all(target_arch = "aarch64", target_os = "macos")) {
29+
+ if test.test == "SingleVariantUnion" && test.options.convention == CallingConvention::C && test.options.repr == LangRepr::C {
30+
+ result.check = Busted(Check);
31+
+ }
32+
+
33+
+ if test.test == "OptionU128" && test.caller == "rustc" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
34+
+ result.check = Busted(Run);
35+
+ }
36+
+
37+
+ if test.test == "OptionU128" && test.caller == "cgclif" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
38+
+ result.check = Busted(Check);
39+
+ }
2540
+ }
2641
+
2742
+ if cfg!(target_arch = "x86_64") && test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {

0 commit comments

Comments
 (0)