File tree Expand file tree Collapse file tree 31 files changed +31
-0
lines changed
validation-test/Reflection Expand file tree Collapse file tree 31 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/existentials
3
+ // RUN: %target-codesign %t/existentials
3
4
// RUN: %target-run %target-swift-reflection-test %t/existentials | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/functions
3
+ // RUN: %target-codesign %t/functions
3
4
// RUN: %target-run %target-swift-reflection-test %t/functions | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
5
5
6
// FIXME: Should not require objc_interop -- please put Objective-C-specific
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/functions
3
+ // RUN: %target-codesign %t/functions
3
4
// RUN: %target-run %target-swift-reflection-test %t/functions | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/inherits_NSObject
3
+ // RUN: %target-codesign %t/inherits_NSObject
3
4
// RUN: %target-run %target-swift-reflection-test %t/inherits_NSObject | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
5
5
6
// REQUIRES: objc_interop
Original file line number Diff line number Diff line change 2
2
3
3
// RUN: %clang %target-cc-options -isysroot %sdk -fobjc-arc %S/Inputs/ObjCClasses/ObjCClasses.m -c -o %t/ObjCClasses.o
4
4
// RUN: %target-build-swift -I %S/Inputs/ObjCClasses/ -lswiftSwiftReflectionTest %t/ObjCClasses.o %s -o %t/inherits_ObjCClasses
5
+ // RUN: %target-codesign %t/inherits_ObjCClasses
5
6
// RUN: %target-run %target-swift-reflection-test %t/inherits_ObjCClasses | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
6
7
7
8
// REQUIRES: objc_interop
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/inherits_Swift
3
+ // RUN: %target-codesign %t/inherits_Swift
3
4
// RUN: %target-run %target-swift-reflection-test %t/inherits_Swift | %FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
4
5
5
6
// REQUIRES: objc_interop
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Array
3
+ // RUN: %target-codesign %t/reflect_Array
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Array 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Bool
3
+ // RUN: %target-codesign %t/reflect_Bool
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Bool 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Character
3
+ // RUN: %target-codesign %t/reflect_Character
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Character 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Dictionary
3
+ // RUN: %target-codesign %t/reflect_Dictionary
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Dictionary 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Double
3
+ // RUN: %target-codesign %t/reflect_Double
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Double 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Float
3
+ // RUN: %target-codesign %t/reflect_Float
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Float 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Int
3
+ // RUN: %target-codesign %t/reflect_Int
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Int 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Int16
3
+ // RUN: %target-codesign %t/reflect_Int16
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Int16 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Int32
3
+ // RUN: %target-codesign %t/reflect_Int32
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Int32 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Int64
3
+ // RUN: %target-codesign %t/reflect_Int64
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Int64 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Int8
3
+ // RUN: %target-codesign %t/reflect_Int8
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Int8 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_NSArray
3
+ // RUN: %target-codesign %t/reflect_NSArray
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_NSArray 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_NSNumber
3
+ // RUN: %target-codesign %t/reflect_NSNumber
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_NSNumber 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_NSSet
3
+ // RUN: %target-codesign %t/reflect_NSSet
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_NSSet 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_NSString
3
+ // RUN: %target-codesign %t/reflect_NSString
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_NSString 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_Set
3
+ // RUN: %target-codesign %t/reflect_Set
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_Set 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_String
3
+ // RUN: %target-codesign %t/reflect_String
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_String 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_UInt
3
+ // RUN: %target-codesign %t/reflect_UInt
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_UInt 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_UInt16
3
+ // RUN: %target-codesign %t/reflect_UInt16
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_UInt16 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_UInt32
3
+ // RUN: %target-codesign %t/reflect_UInt32
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_UInt32 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_UInt64
3
+ // RUN: %target-codesign %t/reflect_UInt64
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_UInt64 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_UInt8
3
+ // RUN: %target-codesign %t/reflect_UInt8
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_UInt8 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_empty_class
3
+ // RUN: %target-codesign %t/reflect_empty_class
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_empty_class 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_existential
3
+ // RUN: %target-codesign %t/reflect_existential
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_existential 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: %target-build-swift -lswiftSwiftReflectionTest %s -o %t/reflect_multiple_types
3
+ // RUN: %target-codesign %t/reflect_multiple_types
3
4
// RUN: %target-run %target-swift-reflection-test %t/reflect_multiple_types 2>&1 | %FileCheck %s --check-prefix=CHECK-%target-ptrsize
4
5
// REQUIRES: objc_interop
5
6
// REQUIRES: executable_test
You can’t perform that action at this time.
0 commit comments