Skip to content

Commit f8b1f81

Browse files
committed
Merge pull request #2785 from apple/allow-running-iphoneos-armv7s-tests
Allow running iphoneos-armv7s tests
2 parents 56bb5dd + 96c6023 commit f8b1f81

36 files changed

+122
-2
lines changed

test/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ if(PYTHONINTERP_FOUND)
236236
endif()
237237

238238
foreach(test_subset ${TEST_SUBSETS})
239+
# We will add arguments specific for this subset to LIT_ARGS. Copy
240+
# the original value and restore it later.
241+
set(LIT_ARGS_COPY "${LIT_ARGS}")
242+
239243
set(want_this_combination TRUE)
240244
if(test_subset STREQUAL "only_long")
241245
# Long tests are only run in 'optimize_none' mode.
@@ -282,6 +286,7 @@ if(PYTHONINTERP_FOUND)
282286
COMMENT "Running ${test_subset} Swift tests for ${VARIANT_TRIPLE}"
283287
${cmake_3_2_USES_TERMINAL})
284288
endif()
289+
set(LIT_ARGS "${LIT_ARGS_COPY}")
285290
endforeach()
286291
endforeach()
287292
endforeach()

test/IRGen/abitypes.swift

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import Foundation
1212
func doStuff(_ x: Int64)
1313
}
1414

15+
// armv7s-ios: [[ARMV7S_MYRECT:%.*]] = type { float, float, float, float }
1516
// arm64-ios: [[ARM64_MYRECT:%.*]] = type { float, float, float, float }
1617
// arm64-tvos: [[ARM64_MYRECT:%.*]] = type { float, float, float, float }
1718
// armv7k-watchos: [[ARMV7K_MYRECT:%.*]] = type { float, float, float, float }
@@ -25,6 +26,8 @@ class Foo {
2526
// i386-ios: define hidden void @_TToFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, i8*, i8*) unnamed_addr {{.*}} {
2627
// armv7-ios: define hidden void @_TFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, %C8abitypes3Foo*) {{.*}} {
2728
// armv7-ios: define hidden void @_TToFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, i8*, i8*) unnamed_addr {{.*}} {
29+
// armv7s-ios: define hidden void @_TFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, %C8abitypes3Foo*) {{.*}} {
30+
// armv7s-ios: define hidden void @_TToFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, i8*, i8*) unnamed_addr {{.*}} {
2831
// arm64-ios: define hidden void @_TFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, %C8abitypes3Foo*) {{.*}} {
2932
// arm64-ios: define hidden [[ARM64_MYRECT]] @_TToFC8abitypes3Foo3bar{{.*}}(i8*, i8*) unnamed_addr {{.*}} {
3033
// x86_64-tvos: define hidden void @_TFC8abitypes3Foo3bar{{.*}}(%VSC6MyRect* noalias nocapture sret, %C8abitypes3Foo*) {{.*}} {
@@ -44,6 +47,8 @@ class Foo {
4447
// x86_64-macosx: define hidden double @_TToFC8abitypes3Foo14getXFromNSRect{{.*}}(i8*, i8*, %VSC6CGRect* byval align 8) unnamed_addr {{.*}} {
4548
// armv7-ios: define hidden double @_TFC8abitypes3Foo14getXFromNSRect{{.*}}(%VSC6CGRect* noalias nocapture dereferenceable({{.*}}), %C8abitypes3Foo*) {{.*}} {
4649
// armv7-ios: define hidden double @_TToFC8abitypes3Foo14getXFromNSRect{{.*}}(i8*, i8*, [4 x i32]) unnamed_addr {{.*}} {
50+
// armv7s-ios: define hidden double @_TFC8abitypes3Foo14getXFromNSRect{{.*}}(%VSC6CGRect* noalias nocapture dereferenceable({{.*}}), %C8abitypes3Foo*) {{.*}} {
51+
// armv7s-ios: define hidden double @_TToFC8abitypes3Foo14getXFromNSRect{{.*}}(i8*, i8*, [4 x i32]) unnamed_addr {{.*}} {
4752
// armv7k-watchos: define hidden double @_TFC8abitypes3Foo14getXFromNSRect{{.*}}(%VSC6CGRect* noalias nocapture dereferenceable(16), %C8abitypes3Foo*) {{.*}} {
4853
// armv7k-watchos: define hidden double @_TToFC8abitypes3Foo14getXFromNSRect{{.*}}(i8*, i8*, [4 x float]) unnamed_addr {{.*}} {
4954
dynamic func getXFromNSRect(_ r: NSRect) -> Double {
@@ -54,6 +59,8 @@ class Foo {
5459
// x86_64-macosx: define hidden float @_TToFC8abitypes3Foo12getXFromRect{{.*}}(i8*, i8*, <2 x float>, <2 x float>) unnamed_addr {{.*}} {
5560
// armv7-ios: define hidden float @_TFC8abitypes3Foo12getXFromRect{{.*}}(%VSC6MyRect* noalias nocapture dereferenceable({{.*}}), %C8abitypes3Foo*) {{.*}} {
5661
// armv7-ios: define hidden float @_TToFC8abitypes3Foo12getXFromRect{{.*}}(i8*, i8*, [4 x i32]) unnamed_addr {{.*}} {
62+
// armv7s-ios: define hidden float @_TFC8abitypes3Foo12getXFromRect{{.*}}(%VSC6MyRect* noalias nocapture dereferenceable({{.*}}), %C8abitypes3Foo*) {{.*}} {
63+
// armv7s-ios: define hidden float @_TToFC8abitypes3Foo12getXFromRect{{.*}}(i8*, i8*, [4 x i32]) unnamed_addr {{.*}} {
5764
// armv7k-watchos: define hidden float @_TFC8abitypes3Foo12getXFromRect{{.*}}(%VSC6MyRect* noalias nocapture dereferenceable(16), %C8abitypes3Foo*) {{.*}} {
5865
// armv7k-watchos: define hidden float @_TToFC8abitypes3Foo12getXFromRect{{.*}}(i8*, i8*, [4 x float]) unnamed_addr {{.*}} {
5966
dynamic func getXFromRect(_ r: MyRect) -> Float {
@@ -79,6 +86,13 @@ class Foo {
7986
// armv7-ios: [[LOADED:%.*]] = load [4 x i32], [4 x i32]* [[CAST]]
8087
// armv7-ios: [[SELFCAST:%.*]] = bitcast [[SELF]]* %1 to i8*
8188
// armv7-ios: [[RESULT:%.*]] = call float bitcast (void ()* @objc_msgSend to float (i8*, i8*, [4 x i32])*)(i8* [[SELFCAST]], i8* [[SEL]], [4 x i32] [[LOADED]])
89+
// armv7s-ios: define hidden float @_TFC8abitypes3Foo17getXFromRectSwift{{.*}}(%VSC6MyRect* noalias nocapture dereferenceable({{.*}}), [[SELF:%.*]]*) {{.*}} {
90+
// armv7s-ios: [[COERCED:%.*]] = alloca [[MYRECT:%.*MyRect.*]], align 4
91+
// armv7s-ios: [[SEL:%.*]] = load i8*, i8** @"\01L_selector(getXFromRect:)", align 4
92+
// armv7s-ios: [[CAST:%.*]] = bitcast [[MYRECT]]* [[COERCED]] to [4 x i32]*
93+
// armv7s-ios: [[LOADED:%.*]] = load [4 x i32], [4 x i32]* [[CAST]]
94+
// armv7s-ios: [[SELFCAST:%.*]] = bitcast [[SELF]]* %1 to i8*
95+
// armv7s-ios: [[RESULT:%.*]] = call float bitcast (void ()* @objc_msgSend to float (i8*, i8*, [4 x i32])*)(i8* [[SELFCAST]], i8* [[SEL]], [4 x i32] [[LOADED]])
8296
// armv7k-watchos: define hidden float @_TFC8abitypes3Foo17getXFromRectSwift{{.*}}(%VSC6MyRect* noalias nocapture dereferenceable(16), [[SELF:%.*]]*) {{.*}} {
8397
// armv7k-watchos: [[COERCED:%.*]] = alloca [[MYRECT:%.*MyRect.*]], align 4
8498
// armv7k-watchos: [[SEL:%.*]] = load i8*, i8** @"\01L_selector(getXFromRect:)", align 4
@@ -129,6 +143,16 @@ class Foo {
129143
// armv7-ios: [[RETVAL:%.*]] = load float, float* [[GEP2]], align 4
130144
// armv7-ios: ret float [[RETVAL]]
131145
//
146+
// armv7s returns an HA of four floats indirectly
147+
// armv7s-ios: define hidden float @_TFC8abitypes3Foo4barc{{.*}}(%CSo13StructReturns*, %C8abitypes3Foo*) {{.*}} {
148+
// armv7s-ios: [[RESULT:%.*]] = alloca [[RECTTYPE:%.*MyRect.*]], align 4
149+
// armv7s-ios: load i8*, i8** @"\01L_selector(newRect)", align 4
150+
// armv7s-ios: call void bitcast (void ()* @objc_msgSend_stret to void ([[RECTTYPE]]*, [[RECEIVER:.*]]*, i8*)*)([[RECTTYPE]]* noalias nocapture sret %call.aggresult
151+
// armv7s-ios: [[GEP1:%.*]] = getelementptr inbounds [[RECTTYPE]], [[RECTTYPE]]* [[RESULT]], i32 0, i32 1
152+
// armv7s-ios: [[GEP2:%.*]] = getelementptr inbounds {{.*}}, {{.*}}* [[GEP1]], i32 0, i32 0
153+
// armv7s-ios: [[RETVAL:%.*]] = load float, float* [[GEP2]], align 4
154+
// armv7s-ios: ret float [[RETVAL]]
155+
//
132156
// armv7k returns an HA of four floats directly
133157
// armv7k-watchos: define hidden float @_TFC8abitypes3Foo4barc{{.*}}(%CSo13StructReturns*, %C8abitypes3Foo*) {{.*}} {
134158
// armv7k-watchos: load i8*, i8** @"\01L_selector(newRect)", align 4
@@ -231,6 +255,13 @@ class Foo {
231255
// armv7-ios-fixme: [[R3:%[0-9]+]] = call i8 @_TF10ObjectiveC22_convertBoolToObjCBoolFT1xSb_VS_8ObjCBool(i1 [[R2]]
232256
// armv7-ios-fixme: ret i8 [[R3]]
233257
//
258+
// armv7s-ios-fixme: define hidden i1 @_TFC8abitypes3Foo6negate{{.*}}(i1, %C8abitypes3Foo*) {{.*}} {
259+
// armv7s-ios-fixme: define internal signext i8 @_TToFC8abitypes3Foo6negate{{.*}}(i8*, i8*, i8 signext) unnamed_addr {{.*}} {
260+
// armv7s-ios-fixme: [[R1:%[0-9]+]] = call i1 @_TF10ObjectiveC22_convertObjCBoolToBoolFT1xVS_8ObjCBool_Sb
261+
// armv7s-ios-fixme: [[R2:%[0-9]+]] = call i1 @_TFC8abitypes3Foo6negate{{.*}}(i1 [[R1]]
262+
// armv7s-ios-fixme: [[R3:%[0-9]+]] = call i8 @_TF10ObjectiveC22_convertBoolToObjCBoolFT1xSb_VS_8ObjCBool(i1 [[R2]]
263+
// armv7s-ios-fixme: ret i8 [[R3]]
264+
//
234265
// arm64-ios-fixme: define hidden i1 @_TFC8abitypes3Foo6negate{{.*}}(i1, %C8abitypes3Foo*) {{.*}} {
235266
// arm64-ios-fixme: define internal zeroext i1 @_TToFC8abitypes3Foo6negate
236267
// arm64-ios-fixme: [[R2:%[0-9]+]] = call i1 @_TFC8abitypes3Foo6negate
@@ -302,6 +333,19 @@ class Foo {
302333
// armv7-ios: [[TOOBJCBOOL:%[0-9]+]] = call i8 @_TF10ObjectiveC22_convertBoolToObjCBool{{.*}}(i1 [[NEG]])
303334
// armv7-ios: ret i8 [[TOOBJCBOOL]]
304335
//
336+
// armv7s-ios: define hidden i1 @_TFC8abitypes3Foo7negate2{{.*}}(i1, %C8abitypes3Foo*) {{.*}} {
337+
// armv7s-ios: [[TOOBJCBOOL:%[0-9]+]] = call i8 @_TF10ObjectiveC22_convertBoolToObjCBool{{.*}}(i1 %0)
338+
// armv7s-ios: [[SEL:%[0-9]+]] = load i8*, i8** @"\01L_selector(negate:)", align 4
339+
// armv7s-ios: [[NEG:%[0-9]+]] = call signext i8 bitcast (void ()* @objc_msgSend to i8 ([[RECEIVER:.*]]*, i8*, i8)*)([[RECEIVER]]* {{%[0-9]+}}, i8* [[SEL]], i8 signext [[TOOBJCBOOL]])
340+
// armv7s-ios: [[TOBOOL:%[0-9]+]] = call i1 @_TF10ObjectiveC22_convertObjCBoolToBool{{.*}}(i8 [[NEG]])
341+
// armv7s-ios: ret i1 [[TOBOOL]]
342+
//
343+
// armv7s-ios: define hidden signext i8 @_TToFC8abitypes3Foo7negate2{{.*}}(i8*, i8*, i8 signext)
344+
// armv7s-ios: [[TOBOOL:%[0-9]+]] = call i1 @_TF10ObjectiveC22_convertObjCBoolToBool
345+
// armv7s-ios: [[NEG:%[0-9]+]] = call i1 @_TFC8abitypes3Foo7negate2{{.*}}(i1 [[TOBOOL]]
346+
// armv7s-ios: [[TOOBJCBOOL:%[0-9]+]] = call i8 @_TF10ObjectiveC22_convertBoolToObjCBool{{.*}}(i1 [[NEG]])
347+
// armv7s-ios: ret i8 [[TOOBJCBOOL]]
348+
//
305349
// arm64-ios: define hidden i1 @_TFC8abitypes3Foo7negate2{{.*}}(i1, %C8abitypes3Foo*) {{.*}} {
306350
// arm64-ios: [[SEL:%[0-9]+]] = load i8*, i8** @"\01L_selector(negate:)", align 8
307351
// arm64-ios: [[NEG:%[0-9]+]] = call zeroext i1 bitcast (void ()* @objc_msgSend to i1 ([[RECEIVER:.*]]*, i8*, i1)*)([[RECEIVER]]* {{%[0-9]+}}, i8* [[SEL]], i1 zeroext %0)
@@ -436,6 +480,7 @@ class Foo {
436480
}
437481

438482
// armv7-ios: define internal void @makeOne(%struct.One* noalias sret %agg.result, float %f, float %s)
483+
// armv7s-ios: define internal void @makeOne(%struct.One* noalias sret %agg.result, float %f, float %s)
439484
// armv7k-watchos: define internal %struct.One @makeOne(float %f, float %s)
440485

441486
// rdar://17631440 - Expand direct arguments that are coerced to aggregates.

test/IRGen/autorelease.sil

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import Swift
88

99
// x86_64: [[OBJC:%objc_object]] = type
1010
// armv7: [[OBJC:%objc_object]] = type
11+
// armv7s: [[OBJC:%objc_object]] = type
1112
// armv7k: [[OBJC:%objc_object]] = type
1213
// arm64: [[OBJC:%objc_object]] = type
1314
// i386: [[OBJC:%objc_object]] = type
@@ -40,6 +41,10 @@ bb0(%0 : $C?):
4041
// armv7: [[T0:%.*]] = tail call i32 bitcast ([[OBJC]]* ([[OBJC]]*)* @objc_autoreleaseReturnValue to i32 (i32)*)(i32 %0)
4142
// armv7-NEXT: ret i32 [[T0]]
4243

44+
// armv7s: define{{( protected)?}} i32 @foo(i32) {{.*}} {
45+
// armv7s: [[T0:%.*]] = tail call i32 bitcast ([[OBJC]]* ([[OBJC]]*)* @objc_autoreleaseReturnValue to i32 (i32)*)(i32 %0)
46+
// armv7s-NEXT: ret i32 [[T0]]
47+
4348
// armv7k: define{{( protected)?}} i32 @foo(i32) {{.*}} {
4449
// armv7k: [[T0:%.*]] = tail call i32 bitcast ([[OBJC]]* ([[OBJC]]*)* @objc_autoreleaseReturnValue to i32 (i32)*)(i32 %0)
4550
// armv7k-NEXT: ret i32 [[T0]]
@@ -80,6 +85,14 @@ bb0(%0 : $C?):
8085
// armv7-NEXT: [[T3:%.*]] = ptrtoint i8* [[T2]] to i32
8186
// armv7-NEXT: ret i32 [[T3]]
8287

88+
// armv7s: define{{( protected)?}} i32 @bar(i32)
89+
// armv7s: [[T0:%.*]] = call i32 @foo(i32 %0)
90+
// armv7s-NEXT: call void asm sideeffect "mov
91+
// armv7s-NEXT: [[T1:%.*]] = inttoptr i32 [[T0]] to i8*
92+
// armv7s-NEXT: [[T2:%.*]] = call i8* @objc_retainAutoreleasedReturnValue(i8* [[T1]])
93+
// armv7s-NEXT: [[T3:%.*]] = ptrtoint i8* [[T2]] to i32
94+
// armv7s-NEXT: ret i32 [[T3]]
95+
8396
// armv7k: define{{( protected)?}} i32 @bar(i32)
8497
// armv7k: [[T0:%.*]] = call i32 @foo(i32 %0)
8598
// armv7k-NEXT: call void asm sideeffect "mov

test/IRGen/c_layout.sil

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,22 @@ bb0:
173173
// CHECK-armv7-LABEL: declare i32 @ints(i32)
174174
// CHECK-armv7-LABEL: declare i32 @unsigneds(i32)
175175

176+
// CHECK-armv7s-LABEL: define{{( protected)?}} void @testIntegerExtension
177+
// CHECK-armv7s: call signext i8 @chareth(i8 signext %0)
178+
// CHECK-armv7s: call signext i8 @signedChareth(i8 signext %1)
179+
// CHECK-armv7s: call zeroext i8 @unsignedChareth(i8 zeroext %2)
180+
// CHECK-armv7s: call signext i16 @eatMyShorts(i16 signext %3)
181+
// CHECK-armv7s: call zeroext i16 @eatMyUnsignedShorts(i16 zeroext %4)
182+
// CHECK-armv7s: call i32 @ints(i32 %5)
183+
// CHECK-armv7s: call i32 @unsigneds(i32 %6)
184+
// CHECK-armv7s-LABEL: declare signext i8 @chareth(i8 signext)
185+
// CHECK-armv7s-LABEL: declare signext i8 @signedChareth(i8 signext)
186+
// CHECK-armv7s-LABEL: declare zeroext i8 @unsignedChareth(i8 zeroext)
187+
// CHECK-armv7s-LABEL: declare signext i16 @eatMyShorts(i16 signext)
188+
// CHECK-armv7s-LABEL: declare zeroext i16 @eatMyUnsignedShorts(i16 zeroext)
189+
// CHECK-armv7s-LABEL: declare i32 @ints(i32)
190+
// CHECK-armv7s-LABEL: declare i32 @unsigneds(i32)
191+
176192
// CHECK-armv7k-LABEL: define{{( protected)?}} void @testIntegerExtension
177193
// CHECK-armv7k: call signext i8 @chareth(i8 signext %0)
178194
// CHECK-armv7k: call signext i8 @signedChareth(i8 signext %1)

test/IRGen/condfail.sil

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import Swift
1111
// CHECK-i386: ud2
1212
// CHECK-arm64: brk
1313
// CHECK-armv7: trap
14+
// CHECK-armv7s: trap
1415
// CHECK-powerpc64: trap
1516
// CHECK-powerpc64le: trap
1617
// CHECK-s390x: trap
@@ -19,6 +20,7 @@ import Swift
1920
// CHECK-i386: ud2
2021
// CHECK-arm64: brk
2122
// CHECK-armv7: trap
23+
// CHECK-armv7s: trap
2224
// CHECK-powerpc64: trap
2325
// CHECK-powerpc64le: trap
2426
// CHECK-s390x: trap

test/IRGen/optional_metatype.sil

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import gizmo
1616
// arm64: icmp eq i64 %0, 0
1717
// armv7-LABEL: define{{( protected)?}} void @optional_objc_metatype(i32)
1818
// armv7: icmp eq i32 %0, 0
19+
// armv7s-LABEL: define{{( protected)?}} void @optional_objc_metatype(i32)
20+
// armv7s: icmp eq i32 %0, 0
1921
// armv7k-LABEL: define{{( protected)?}} void @optional_objc_metatype(i32)
2022
// armv7k: icmp eq i32 %0, 0
2123

@@ -38,6 +40,8 @@ cont:
3840
// arm64: icmp eq i64 %0, 0
3941
// armv7-LABEL: define{{( protected)?}} void @optional_swift_metatype(i32)
4042
// armv7: icmp eq i32 %0, 0
43+
// armv7s-LABEL: define{{( protected)?}} void @optional_swift_metatype(i32)
44+
// armv7s: icmp eq i32 %0, 0
4145
// armv7k-LABEL: define{{( protected)?}} void @optional_swift_metatype(i32)
4246
// armv7k: icmp eq i32 %0, 0
4347

test/IRGen/pic.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ public func use_global() -> Int {
2626
// armv7: add r0, pc, r0
2727
// armv7: ldr r0, [r0]
2828

29+
// armv7s-LABEL: __TF4main10use_globalFT_Si:
30+
// armv7s: movw r0, :lower16:(__Tv4main6globalSi-([[PIC_0:L.*]]+8))
31+
// armv7s: movt r0, :upper16:(__Tv4main6globalSi-([[PIC_0]]+8))
32+
// armv7s: [[PIC_0]]:{{$}}
33+
// armv7s: add r0, pc, r0
34+
// armv7s: ldr r0, [r0]
35+
2936
// armv7k-LABEL: __TF4main10use_globalFT_Si:
3037
// armv7k: movw r0, :lower16:(__Tv4main6globalSi-([[PIC_0:L.*]]+8))
3138
// armv7k: movt r0, :upper16:(__Tv4main6globalSi-([[PIC_0]]+8))

test/Interpreter/SDK/OS_objects.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: %target-run %t/OS_objects 2>&1 | FileCheck %s
77

88
// REQUIRES: objc_interop
9+
// REQUIRES: executable_test
910

1011
// Note: Test the use of the Clang objc_runtime_visible attribute via
1112
// known OS objects on Darwin.

test/lit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ if run_vendor == 'apple':
531531
(config.variant_triple, stdlib_resource_dir_opt, mcp_opt))
532532
target_options_for_mock_sdk_after = sdk_overlay_dir_opt
533533

534-
if 'arm' in run_cpu and swift_test_mode != 'non_executable':
534+
if 'arm' in run_cpu and swift_test_mode != 'only_non_executable':
535535
raise RuntimeError('Device tests are not currently supported.')
536536

537537
if 'arm' in run_cpu:
@@ -546,7 +546,7 @@ if run_vendor == 'apple':
546546
lit_config.note('Testing watchOS ' + config.variant_triple)
547547
xcrun_sdk_name = "watchos"
548548

549-
if run_cpu == "armv7" or run_cpu == "armv7k":
549+
if run_cpu == "armv7" or run_cpu == "armv7s" or run_cpu == "armv7k":
550550
config.target_swiftmodule_name = "arm.swiftmodule"
551551
config.target_swiftdoc_name = "arm.swiftdoc"
552552
elif run_cpu == "arm64":

validation-test/Reflection/example.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/example
33
// RUN: %target-run %target-swift-reflection-test %t/example | FileCheck %s --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
import SwiftReflectionTest
78

0 commit comments

Comments
 (0)