File tree Expand file tree Collapse file tree 5 files changed +20
-7
lines changed Expand file tree Collapse file tree 5 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -39,23 +39,29 @@ function(get_test_dependencies SDK result_var_name)
39
39
list (APPEND deps SwiftUnitTests )
40
40
endif ()
41
41
42
- set (deps_binaries
42
+ set (deps_binaries )
43
+
44
+ if (SWIFT_INCLUDE_TOOLS )
45
+ list (APPEND deps_binaries
43
46
swift swift-ide-test swift-syntax-test sil-opt swift-llvm-opt swift-demangle
44
47
sil-func-extractor sil-llvm-gen sil-nm sil-passpipeline-dumper
45
48
lldb-moduleimport-test swift-reflection-dump swift-remoteast-test
46
49
swift-api-digester swift-refactor swift-demangle-yamldump )
50
+
51
+ if (SWIFT_BUILD_SYNTAXPARSERLIB )
52
+ list (APPEND deps_binaries swift-syntax-parser-test )
53
+ endif ()
54
+ if (SWIFT_BUILD_SOURCEKIT )
55
+ list (APPEND deps_binaries sourcekitd-test complete-test )
56
+ endif ()
57
+ endif ()
58
+
47
59
if (NOT SWIFT_BUILT_STANDALONE )
48
60
list (APPEND deps_binaries FileCheck arcmt-test c-arcmt-test c-index-test
49
61
clang llc llvm-cov llvm-dwarfdump llvm-link llvm-as llvm-dis
50
62
llvm-bcanalyzer llvm-nm llvm-readobj llvm-profdata count not
51
63
llvm-strings dsymutil )
52
64
endif ()
53
- if (SWIFT_BUILD_SYNTAXPARSERLIB )
54
- list (APPEND deps_binaries swift-syntax-parser-test )
55
- endif ()
56
- if (SWIFT_BUILD_SOURCEKIT )
57
- list (APPEND deps_binaries sourcekitd-test complete-test )
58
- endif ()
59
65
60
66
if (("${SDK} " STREQUAL "IOS" ) OR
61
67
("${SDK} " STREQUAL "TVOS" ) OR
Original file line number Diff line number Diff line change 4
4
// RUN: %lldb-moduleimport-test -verbose %t/ASTSection | %FileCheck %s
5
5
6
6
// REQUIRES: executable_test
7
+ // REQUIRES: swift_tools_extra
7
8
8
9
// The test ASTSection_linker.swift builds this code with separate
9
10
// compile and link steps.
Original file line number Diff line number Diff line change 47
47
// Ensure the testable import showed up mangled correctly.
48
48
// RUN: ls %t.ccp/Darwin-testable*
49
49
// RUN: ls %t.ccp/AppKit-private*
50
+
50
51
// REQUIRES: executable_test
52
+ // REQUIRES: swift_tools_extra
51
53
52
54
import macros
53
55
import ctypes
Original file line number Diff line number Diff line change 12
12
// RUN: %FileCheck %s -check-prefix=PASS_ANNOTATED -strict-whitespace < %t.annotated.txt
13
13
14
14
// REQUIRES: executable_test
15
+ // REQUIRES: swift_tools_extra
15
16
16
17
@_exported import Foo
17
18
Original file line number Diff line number Diff line change @@ -112,6 +112,9 @@ else:
112
112
# even if SWIFT_ENABLE_GOLD_LINKER isn't set, we cannot use BFD for Android
113
113
config .android_linker_name = "gold"
114
114
115
+ if '@SWIFT_INCLUDE_TOOLS@' == 'TRUE' :
116
+ config .available_features .add ('swift_tools_extra' )
117
+
115
118
# Let the main config do the real work.
116
119
if config .test_exec_root is None :
117
120
config .test_exec_root = os .path .dirname (os .path .realpath (__file__ ))
You can’t perform that action at this time.
0 commit comments