|
| 1 | +diff --git a/swift/test/ClangImporter/pcm-emit-direct-cc1-mode.swift b/swift/test/ClangImporter/pcm-emit-direct-cc1-mode.swift |
| 2 | +index f5048b9e3d5..c227ef7b77d 100644 |
| 3 | +--- a/swift/test/ClangImporter/pcm-emit-direct-cc1-mode.swift |
| 4 | ++++ b/swift/test/ClangImporter/pcm-emit-direct-cc1-mode.swift |
| 5 | +@@ -9,7 +9,7 @@ |
| 6 | + // CHECK-DUMP: Module map file: {{.*[/\\]}}Inputs{{/|\\}}custom-modules{{/|\\}}module.modulemap |
| 7 | + |
| 8 | + // Verify that the clang command-line used is cc1 |
| 9 | +-// RUN: %FileCheck -check-prefix CHECK-CLANG -DTRIPLE=%target-triple %s < %t.diags.txt |
| 10 | ++// RUN: %FileCheck -check-prefix CHECK-CLANG -DTRIPLE=%module-target-triple %s < %t.diags.txt |
| 11 | + // CHECK-CLANG: clang importer cc1 args |
| 12 | + // CHECK-CLANG-SAME: '-o' '{{.*[/\\]}}script.pcm' '-fsyntax-only' '-x' 'objective-c' '{{.*[/\\]}}module.modulemap' '-triple' '[[TRIPLE]]' |
| 13 | + // CHECK-CLANG-SAME: '-fmodules' |
| 14 | +diff --git a/swift/test/IRGen/abitypes_arm.swift b/swift/test/IRGen/abitypes_arm.swift |
| 15 | +index 9428294483d..52bd8b10145 100644 |
| 16 | +--- a/swift/test/IRGen/abitypes_arm.swift |
| 17 | ++++ b/swift/test/IRGen/abitypes_arm.swift |
| 18 | +@@ -11,6 +11,6 @@ class Foo { |
| 19 | + } |
| 20 | + } |
| 21 | + |
| 22 | +-// armv7: define internal void @makeOne(ptr noalias sret({{.*}}) align 4 %agg.result, float{{( noundef)?}} %f, float{{( noundef)?}} %s) |
| 23 | ++// armv7: define internal void @makeOne(ptr{{( dead_on_unwind)?}} noalias{{( writable)?}} sret({{.*}}) align 4 %agg.result, float{{( noundef)?}} %f, float{{( noundef)?}} %s) |
| 24 | + // armv7s: define internal void @makeOne(ptr noalias sret({{.*}}) align 4 %agg.result, float %f, float %s) |
| 25 | + // armv7k: define internal %struct.One @makeOne(float {{.*}}%f, float {{.*}}%s) |
| 26 | +diff --git a/swift/test/Interop/Cxx/class/constructors-copy-module-interface.swift b/swift/test/Interop/Cxx/class/constructors-copy-module-interface.swift |
| 27 | +index 042c10e7d1d..254f6543b58 100644 |
| 28 | +--- a/swift/test/Interop/Cxx/class/constructors-copy-module-interface.swift |
| 29 | ++++ b/swift/test/Interop/Cxx/class/constructors-copy-module-interface.swift |
| 30 | +@@ -1,4 +1,5 @@ |
| 31 | + // RUN: %target-swift-ide-test -print-module -module-to-print=Constructors -I %S/Inputs -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s |
| 32 | ++// XFAIL: OS=linux-androideabi |
| 33 | + |
| 34 | + // CHECK: struct TemplatedCopyConstructor |
| 35 | + // CHECK: struct TemplatedCopyConstructorWithExtraArg |
| 36 | +diff --git a/swift/test/Interop/Cxx/class/constructors-diagnostics.swift b/swift/test/Interop/Cxx/class/constructors-diagnostics.swift |
| 37 | +index aac01480660..8fa99fae7fb 100644 |
| 38 | +--- a/swift/test/Interop/Cxx/class/constructors-diagnostics.swift |
| 39 | ++++ b/swift/test/Interop/Cxx/class/constructors-diagnostics.swift |
| 40 | +@@ -2,6 +2,7 @@ |
| 41 | + |
| 42 | + // This test uses -verify-additional-file, which do not work well on Windows. |
| 43 | + // UNSUPPORTED: OS=windows-msvc |
| 44 | ++// XFAIL: OS=linux-androideabi |
| 45 | + |
| 46 | + import Constructors |
| 47 | + |
| 48 | +diff --git a/swift/test/Interop/Cxx/class/constructors-module-interface.swift b/swift/test/Interop/Cxx/class/constructors-module-interface.swift |
| 49 | +index bf189b6e302..d2c3d65f03e 100644 |
| 50 | +--- a/swift/test/Interop/Cxx/class/constructors-module-interface.swift |
| 51 | ++++ b/swift/test/Interop/Cxx/class/constructors-module-interface.swift |
| 52 | +@@ -1,4 +1,5 @@ |
| 53 | + // RUN: %target-swift-ide-test -print-module -module-to-print=Constructors -I %S/Inputs/ -source-filename=x -enable-experimental-cxx-interop | %FileCheck %s |
| 54 | ++// XFAIL: OS=linux-androideabi |
| 55 | + |
| 56 | + // CHECK: struct ExplicitDefaultConstructor { |
| 57 | + // CHECK-NEXT: init() |
| 58 | +diff --git a/swift/test/Interop/Cxx/class/constructors-silgen.swift b/swift/test/Interop/Cxx/class/constructors-silgen.swift |
| 59 | +index b1624ccccfe..79cbdf170de 100644 |
| 60 | +--- a/swift/test/Interop/Cxx/class/constructors-silgen.swift |
| 61 | ++++ b/swift/test/Interop/Cxx/class/constructors-silgen.swift |
| 62 | +@@ -1,4 +1,5 @@ |
| 63 | + // RUN: %target-swiftxx-frontend -I %S/Inputs -Xllvm -sil-print-types -emit-silgen %s | %FileCheck %s |
| 64 | ++// XFAIL: OS=linux-androideabi |
| 65 | + |
| 66 | + import Constructors |
| 67 | + |
| 68 | +diff --git a/swift/test/Interop/Cxx/class/constructors-typechecker.swift b/swift/test/Interop/Cxx/class/constructors-typechecker.swift |
| 69 | +index 8ce10b1ca75..52ff4104b83 100644 |
| 70 | +--- a/swift/test/Interop/Cxx/class/constructors-typechecker.swift |
| 71 | ++++ b/swift/test/Interop/Cxx/class/constructors-typechecker.swift |
| 72 | +@@ -1,4 +1,5 @@ |
| 73 | + // RUN: %target-typecheck-verify-swift -verify-ignore-unknown -I %S/Inputs -enable-experimental-cxx-interop |
| 74 | ++// XFAIL: OS=linux-androideabi |
| 75 | + |
| 76 | + import Constructors |
| 77 | + |
| 78 | +diff --git a/swift/test/Interop/Cxx/class/custom-new-operator-irgen.swift b/swift/test/Interop/Cxx/class/custom-new-operator-irgen.swift |
| 79 | +index 74e692c9db2..0423493afac 100644 |
| 80 | +--- a/swift/test/Interop/Cxx/class/custom-new-operator-irgen.swift |
| 81 | ++++ b/swift/test/Interop/Cxx/class/custom-new-operator-irgen.swift |
| 82 | +@@ -5,4 +5,4 @@ import CustomNewOperator |
| 83 | + var x = callsCustomNew() |
| 84 | + |
| 85 | + // Make sure the definition of `operator new` is emitted. |
| 86 | +-// CHECK: define {{.*}} @{{_ZnwmPv15container_new_t|"\?\?2@YAPEAX_KPEAXUcontainer_new_t@@@Z"}} |
| 87 | ++// CHECK: define {{.*}} @{{_Znw(j|m)Pv15container_new_t|"\?\?2@YAPEAX_KPEAXUcontainer_new_t@@@Z"}} |
| 88 | +diff --git a/swift/test/SILOptimizer/package-cmo-serialize-tables.swift b/swift/test/SILOptimizer/package-cmo-serialize-tables.swift |
| 89 | +index 382ff2e8080..f061374b2a1 100644 |
| 90 | +--- a/swift/test/SILOptimizer/package-cmo-serialize-tables.swift |
| 91 | ++++ b/swift/test/SILOptimizer/package-cmo-serialize-tables.swift |
| 92 | +@@ -19,7 +19,7 @@ |
| 93 | + |
| 94 | + // Temporarily disabling on watchOS (both arm64_32 & armv7k): |
| 95 | + // rdar://140330692 (🟠 OSS Swift CI: oss-swift_tools-RA_stdlib-DA_test-device-non_executable failed... |
| 96 | +-// UNSUPPORTED: OS=watchos |
| 97 | ++// UNSUPPORTED: OS=watchos, OS=linux-androideabi |
| 98 | + |
| 99 | + //--- main.swift |
| 100 | + |
| 101 | +diff --git a/swift/test/SILOptimizer/throws_prediction.swift b/swift/test/SILOptimizer/throws_prediction.swift |
| 102 | +index f7f2664b2de..01d36e127c6 100644 |
| 103 | +--- a/swift/test/SILOptimizer/throws_prediction.swift |
| 104 | ++++ b/swift/test/SILOptimizer/throws_prediction.swift |
| 105 | +@@ -16,7 +16,7 @@ |
| 106 | + // RUN: -sil-verify-all -module-name=test -emit-sil \ |
| 107 | + // RUN: | %FileCheck --check-prefix CHECK-DISABLED %s |
| 108 | + |
| 109 | +-// UNSUPPORTED: CPU=armv7k || CPU=arm64_32 |
| 110 | ++// UNSUPPORTED: CPU=armv7k, CPU=arm64_32, CPU=armv7 |
| 111 | + |
| 112 | + // CHECK-DISABLED-NOT: normal_count |
| 113 | + |
| 114 | +diff --git a/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake b/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake |
| 115 | +index 468dc61..a90ae3d 100644 |
| 116 | +--- a/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake |
| 117 | ++++ b/swift-corelibs-xctest/cmake/modules/PlatformInfo.cmake |
| 118 | +@@ -2,6 +2,10 @@ |
| 119 | + set(print_target_info_invocation "${CMAKE_Swift_COMPILER}" -print-target-info) |
| 120 | + if(CMAKE_Swift_COMPILER_TARGET) |
| 121 | + list(APPEND print_target_info_invocation -target ${CMAKE_Swift_COMPILER_TARGET}) |
| 122 | ++else() |
| 123 | ++ set(arg_list ${CMAKE_Swift_FLAGS}) |
| 124 | ++ separate_arguments(arg_list) |
| 125 | ++ list(APPEND print_target_info_invocation ${arg_list}) |
| 126 | + endif() |
| 127 | + execute_process(COMMAND ${print_target_info_invocation} OUTPUT_VARIABLE target_info_json) |
| 128 | + message(CONFIGURE_LOG "Swift Target Info: ${print_target_info_invocation}\n" |
| 129 | +diff --git a/swift-testing/cmake/modules/PlatformInfo.cmake b/swift-testing/cmake/modules/PlatformInfo.cmake |
| 130 | +index 94c60ef..ab8a491 100644 |
| 131 | +--- a/swift-testing/cmake/modules/PlatformInfo.cmake |
| 132 | ++++ b/swift-testing/cmake/modules/PlatformInfo.cmake |
| 133 | +@@ -9,6 +9,10 @@ |
| 134 | + set(print_target_info_invocation "${CMAKE_Swift_COMPILER}" -print-target-info) |
| 135 | + if(CMAKE_Swift_COMPILER_TARGET) |
| 136 | + list(APPEND print_target_info_invocation -target ${CMAKE_Swift_COMPILER_TARGET}) |
| 137 | ++else() |
| 138 | ++ set(arg_list ${CMAKE_Swift_FLAGS}) |
| 139 | ++ separate_arguments(arg_list) |
| 140 | ++ list(APPEND print_target_info_invocation ${arg_list}) |
| 141 | + endif() |
| 142 | + execute_process(COMMAND ${print_target_info_invocation} OUTPUT_VARIABLE target_info_json) |
| 143 | + message(CONFIGURE_LOG "Swift Target Info: ${print_target_info_invocation}\n" |
0 commit comments