Skip to content

Commit d0725fe

Browse files
committed
tests: annotate executable tests with corresponding requirements
1 parent 56bb5dd commit d0725fe

28 files changed

+28
-0
lines changed

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.

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

validation-test/Reflection/existentials.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/existentials
33
// RUN: %target-run %target-swift-reflection-test %t/existentials | FileCheck %s --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
/*
78
This file pokes at the swift_reflection_projectExistential API

validation-test/Reflection/functions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// testcases in functions_objc.swift
77

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

1011
/*
1112
This file pokes at the swift_reflection_infoForInstance() API

validation-test/Reflection/functions_objc.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/functions
33
// RUN: %target-run %target-swift-reflection-test %t/functions | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
import SwiftReflectionTest
78
import Foundation

validation-test/Reflection/reflect_Array.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/reflect_Array
33
// RUN: %target-run %target-swift-reflection-test %t/reflect_Array 2>&1 | FileCheck %s --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
import SwiftReflectionTest
78

validation-test/Reflection/reflect_Bool.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/reflect_Bool
33
// RUN: %target-run %target-swift-reflection-test %t/reflect_Bool 2>&1 | FileCheck %s --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
import SwiftReflectionTest
78

validation-test/Reflection/reflect_Character.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/reflect_Character
33
// RUN: %target-run %target-swift-reflection-test %t/reflect_Character 2>&1 | FileCheck %s --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
import SwiftReflectionTest
78

validation-test/Reflection/reflect_Dictionary.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/reflect_Dictionary
33
// RUN: %target-run %target-swift-reflection-test %t/reflect_Dictionary 2>&1 | FileCheck %s --check-prefix=CHECK-%target-ptrsize
44
// REQUIRES: objc_interop
5+
// REQUIRES: executable_test
56

67
import SwiftReflectionTest
78

validation-test/Reflection/reflect_Double.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/reflect_Double
33
// RUN: %target-run %target-swift-reflection-test %t/reflect_Double 2>&1 | 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)