File tree Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-run-simple-swift | %FileCheck %s
2
2
3
+ // REQUIRES: executable_test
4
+
3
5
// Smoke test to see that various conditional conformances correctly execute
4
6
5
7
protocol P1 {
Original file line number Diff line number Diff line change 4
4
// RUN: %swift_driver -sdk %sdk -l%S/Inputs/libTestLoad.dylib %s | %FileCheck -check-prefix=WITH-LIB %s
5
5
// RUN: cd %S && %swift_driver -sdk %sdk -lInputs/libTestLoad.dylib %s | %FileCheck -check-prefix=WITH-LIB %s
6
6
// REQUIRES: OS=macosx
7
+ // REQUIRES: executable_test
7
8
8
9
import ObjectiveC
9
10
Original file line number Diff line number Diff line change @@ -535,10 +535,12 @@ if config.variant_sdk != "":
535
535
if platform .system () == 'Darwin' and (run_os == 'macosx' or run_os == 'darwin' ):
536
536
# Disable REPL tests if SDK overlay is not in the resource dir.
537
537
# <rdar://problem/16678410> Adding more libraries with -lfoo to REPL is broken
538
- config .available_features .add ('swift_repl' )
539
- config .available_features .add ('swift_interpreter' )
538
+ if swift_test_mode != 'only_non_executable' :
539
+ config .available_features .add ('swift_repl' )
540
+ config .available_features .add ('swift_interpreter' )
540
541
elif platform .system () == 'Linux' :
541
- config .available_features .add ('swift_interpreter' )
542
+ if swift_test_mode != 'only_non_executable' :
543
+ config .available_features .add ('swift_interpreter' )
542
544
543
545
# swift-remoteast-test requires the ability to compile and run code
544
546
# for the system we compiled the swift-remoteast-test executable on.
Original file line number Diff line number Diff line change 3
3
// REQUIRES: objc_interop
4
4
// UNSUPPORTED: OS=watchos
5
5
6
+ // REQUIRES: executable_test
7
+
6
8
import StdlibUnittest
7
9
8
10
import Metal
Original file line number Diff line number Diff line change 3
3
// REQUIRES: objc_interop
4
4
// UNSUPPORTED: OS=watchos
5
5
6
+ // REQUIRES: executable_test
7
+
6
8
import StdlibUnittest
7
9
8
10
import Metal
You can’t perform that action at this time.
0 commit comments