Skip to content

Commit ce7fad7

Browse files
Xazax-hunGabor Horvath
authored andcommitted
🍒 [cxx-interop] Fix input header paths in a test
Explanation: There is a difference between the logic resolving modules in upstream and downstream versions of the compiler this is why the wrong path did not fail the CIs upstream. Having the correct path both fixes downstream CIs and makes the tests more resilient to changes in the lookup logic in the future. Scope: Tests. Risk: Low, test change only to fix CI. Testing: No additional tests needed. Issue: rdar://131629163 Reviewer: @egorzhdan Original PR: swiftlang#75237
1 parent b8ebe48 commit ce7fad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interop/Cxx/class/safe-use-of-returned-reference-with-borrowing.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// RUN: rm -rf %t
22
// RUN: split-file %s %t
3-
// RUN: %target-build-swift %t/test.swift -I %t -o %t/out -Xfrontend -enable-experimental-cxx-interop -O
3+
// RUN: %target-build-swift %t/test.swift -I %t/Inputs -o %t/out -Xfrontend -enable-experimental-cxx-interop -O
44
// RUN: %target-codesign %t/out
55
// RUN: %target-run %t/out
66

77
// Verify that a non-const ref value parameter can't implicitly receive
88
// aborrowed value.
9-
// RUN: %target-swift-frontend -DBORROW_PASS_TO_VALUE_PARAM -emit-ir -o /dev/null -I %t %t/test.swift -enable-experimental-cxx-interop -verify
9+
// RUN: %target-swift-frontend -DBORROW_PASS_TO_VALUE_PARAM -emit-ir -o /dev/null -I %t/Inputs %t/test.swift -enable-experimental-cxx-interop -verify
1010

1111
// REQUIRES: executable_test
1212

0 commit comments

Comments
 (0)