Skip to content

Commit d26a053

Browse files
committed
[test/CMake] Add the swift-test-stdlib-* test dependency under the same conditions as swift-reflection-test*
1 parent 5938f5a commit d26a053

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)