Skip to content

Commit ee8f251

Browse files
kateinoigakukunrunner
authored andcommitted
[wasm][test] Add missing target specific lit properties
1 parent cff9f75 commit ee8f251

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/lit.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,10 +1852,16 @@ elif run_os == 'wasi':
18521852
config.target_sil_opt = (
18531853
'%s -target %s %s %s %s' %
18541854
(config.sil_opt, config.variant_triple, config.resource_dir_opt, mcp_opt, config.sil_test_options))
1855+
subst_target_sil_opt_mock_sdk = config.target_sil_opt
1856+
subst_target_sil_opt_mock_sdk_after = ""
18551857
config.target_swift_symbolgraph_extract = ' '.join([
18561858
config.swift_symbolgraph_extract,
18571859
'-target', config.variant_triple,
18581860
mcp_opt])
1861+
config.target_swift_api_extract = ' '.join([
1862+
config.swift_api_extract,
1863+
'-target', config.variant_triple,
1864+
'-sdk', shell_quote(config.variant_sdk)])
18591865
config.target_swift_ide_test = (
18601866
'%s -target %s %s %s %s %s' %
18611867
(config.swift_ide_test, config.variant_triple, config.resource_dir_opt,

0 commit comments

Comments
 (0)