Skip to content

Commit c22939c

Browse files
committed
[test] Temporarily disable Reflection tests on non-macOS
utils/remote-run will only run things in %t. An Apple-internal tool doesn't follow symlinks. Normal macOS and simulator runs find the support libraries relative to the binary. I'm not sure what to do yet, but for now let's unbreak the Apple-internal bots I broke in 01a0de2.
1 parent 6ffe644 commit c22939c

31 files changed

+93
-0
lines changed

validation-test/Reflection/existentials.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
/*
1417
This file pokes at the swift_reflection_projectExistential API
1518
of the SwiftRemoteMirror library.

validation-test/Reflection/functions.swift

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
// REQUIRES: objc_interop
1414
// REQUIRES: executable_test
1515

16+
// FIXME: Handle different forms of %target-run more robustly
17+
// REQUIRES: OS=macosx
18+
1619
/*
1720
This file pokes at the swift_reflection_infoForInstance() API
1821
of the SwiftRemoteMirror library.

validation-test/Reflection/functions_objc.swift

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// REQUIRES: objc_interop
1212
// REQUIRES: executable_test
1313

14+
// FIXME: Handle different forms of %target-run more robustly
15+
// REQUIRES: OS=macosx
16+
1417
import SwiftReflectionTest
1518
import Foundation
1619
import CoreGraphics

validation-test/Reflection/inherits_NSObject.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import Foundation
1417
import simd
1518

validation-test/Reflection/inherits_ObjCClasses.swift

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
// REQUIRES: objc_interop
1414
// REQUIRES: executable_test
1515

16+
// FIXME: Handle different forms of %target-run more robustly
17+
// REQUIRES: OS=macosx
18+
1619
import simd
1720
import ObjCClasses
1821
import SwiftReflectionTest

validation-test/Reflection/inherits_Swift.swift

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// REQUIRES: objc_interop
1212
// REQUIRES: executable_test
1313

14+
// FIXME: Handle different forms of %target-run more robustly
15+
// REQUIRES: OS=macosx
16+
1417
import SwiftReflectionTest
1518

1619
class BaseClass {

validation-test/Reflection/reflect_Array.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Bool.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Character.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Dictionary.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Double.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Float.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Int.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Int16.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Int32.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Int64.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_Int8.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_NSArray.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417
import Foundation
1518

validation-test/Reflection/reflect_NSNumber.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417
import Foundation
1518

validation-test/Reflection/reflect_NSSet.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417
import Foundation
1518

validation-test/Reflection/reflect_NSString.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417
import Foundation
1518

validation-test/Reflection/reflect_Set.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_String.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_UInt.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_UInt16.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_UInt32.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_UInt64.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_UInt8.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestClass {

validation-test/Reflection/reflect_empty_class.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class EmptyClass { }

validation-test/Reflection/reflect_existential.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417

1518
class TestGeneric<T> {

validation-test/Reflection/reflect_multiple_types.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
// REQUIRES: objc_interop
1111
// REQUIRES: executable_test
1212

13+
// FIXME: Handle different forms of %target-run more robustly
14+
// REQUIRES: OS=macosx
15+
1316
import SwiftReflectionTest
1417
import Foundation
1518

0 commit comments

Comments
 (0)