Skip to content

Commit 9d30bf5

Browse files
authored
Merge pull request #24606 from akyrtzi/swift-test-stdlib-depend-cmake
[test/CMake] Add the `swift-test-stdlib-*` test dependency under the same conditions as `swift-reflection-test*`
2 parents 2309ee5 + d26a053 commit 9d30bf5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,9 @@ _Block_release(void) { }\n")
221221
OUTPUT_NAME BlocksRuntime)
222222
list(APPEND test_dependencies BlocksRuntimeStub${VARIANT_SUFFIX})
223223

224-
list(APPEND test_dependencies
225-
"swift-test-stdlib-${SWIFT_SDK_${SDK}_LIB_SUBDIR}")
226-
227224
if(SWIFT_BUILD_STDLIB AND SWIFT_INCLUDE_TESTS)
225+
list(APPEND test_dependencies
226+
"swift-test-stdlib-${SWIFT_SDK_${SDK}_LIB_SUBDIR}")
228227
list(APPEND test_dependencies
229228
"swift-reflection-test${VARIANT_SUFFIX}_signed")
230229
endif()

0 commit comments

Comments
 (0)