Skip to content

Commit b77748a

Browse files
authored
Update swift-android-testing-except-release.patch to add Testing fix
1 parent 341bf54 commit b77748a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

swift-ci/sdks/android/patches/swift-android-testing-except-release.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,19 @@ index f7f2664b2de..01d36e127c6 100644
111111

112112
// CHECK-DISABLED-NOT: normal_count
113113

114+
diff --git a/swift/utils/swift_build_support/swift_build_support/products/product.py b/swift/utils/swift_build_support/swift_build_support/products/product.py
115+
index 274b6037305..bf0f7fcf671 100644
116+
--- a/swift/utils/swift_build_support/swift_build_support/products/product.py
117+
+++ b/swift/utils/swift_build_support/swift_build_support/products/product.py
118+
@@ -212,7 +212,7 @@ class Product(object):
119+
if self.args.cross_compile_hosts:
120+
if self.is_darwin_host(host_target):
121+
install_destdir = self.host_install_destdir(host_target)
122+
- else:
123+
+ elif self.args.cross_compile_append_host_target_to_destdir:
124+
install_destdir = os.path.join(install_destdir, self.args.host_target)
125+
return targets.toolchain_path(install_destdir,
126+
self.args.install_prefix)
114127
diff --git a/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake b/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake
115128
index 468dc61..a90ae3d 100644
116129
--- a/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake

0 commit comments

Comments
 (0)