Skip to content

Commit 967bafe

Browse files
committed
Update abi-cafe test expectations
1 parent f7802d6 commit 967bafe

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ diff --git a/src/report.rs b/src/report.rs
2323
index 958ab43..dcf1044 100644
2424
--- a/src/report.rs
2525
+++ b/src/report.rs
26-
@@ -48,6 +48,58 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
26+
@@ -48,6 +48,66 @@ pub fn get_test_rules(test: &TestKey, caller: &dyn Toolchain, callee: &dyn Toolc
2727
//
2828
// THIS AREA RESERVED FOR VENDORS TO APPLY PATCHES
2929

@@ -52,17 +52,25 @@ index 958ab43..dcf1044 100644
5252
+ }
5353
+
5454
+ if cfg!(all(target_arch = "x86_64", unix)) {
55-
+ if test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {
55+
+ if test.test == "OptionU128" && test.caller == "cgclif" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {
5656
+ result.check = Busted(Run);
5757
+ }
58+
+
59+
+ if test.test == "OptionU128" && test.caller == "rustc" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {
60+
+ result.check = Busted(Check);
61+
+ }
5862
+ }
5963
+
6064
+ if cfg!(all(target_arch = "x86_64", windows)) {
6165
+ if test.test == "OptionU128" && test.options.convention == CallingConvention::Rust {
6266
+ result.check = Busted(Check);
6367
+ }
6468
+
65-
+ if test.test == "OptionU128" && test.options.convention == CallingConvention::Rust && (test.caller == "rustc" || test.options.repr == LangRepr::Rust) {
69+
+ if test.test == "OptionU128" && test.caller == "rustc" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::C {
70+
+ result.check = Busted(Run);
71+
+ }
72+
+
73+
+ if test.test == "OptionU128" && test.caller == "cgclif" && test.options.convention == CallingConvention::Rust && test.options.repr == LangRepr::Rust {
6674
+ result.check = Busted(Run);
6775
+ }
6876
+

0 commit comments

Comments
 (0)