Skip to content

Commit 2a1b741

Browse files
authored
Merge pull request swiftlang#21352 from compnerd/lit-erally-better-on-windows
lit improvements for Windows expansions
2 parents 8629cd5 + 54296af commit 2a1b741

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/lit.cfg

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,13 +817,15 @@ elif run_os in ['windows-msvc']:
817817
config.swift_test_options, \
818818
config.swift_frontend_test_options))
819819

820-
config.target_codesign = ''
820+
config.target_codesign = 'echo'
821821

822822
subst_target_swift_frontend_mock_sdk = config.target_swift_frontend
823823
subst_target_swift_frontend_mock_sdk_after = ''
824824

825825
config.target_build_swift_dylib = \
826-
("%r -parse-as-library -emit-library -o '\\1'" % (config.target_build_swift))
826+
SubstituteCaptures("%s -parse-as-library -emit-library -o \\1" % (config.target_build_swift))
827+
config.target_add_rpath = r''
828+
827829
config.target_clang = \
828830
('clang++ -target %s %s' % (config.variant_triple, clang_mcp_opt))
829831
config.target_ld = \

0 commit comments

Comments
 (0)