Skip to content

Commit 2e6b330

Browse files
authored
Merge pull request #21100 from gottesmm/pr-63ca02d4dc575528fca08cdebf53bdf32a0d7d6f
[ownership] Enable ownership verification on all target-run-simple-swift* tests
2 parents c2fe8ea + c655666 commit 2e6b330

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/lit.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,29 +1154,29 @@ config.substitutions.append(('%sftp-server',
11541154
if not getattr(config, 'target_run_simple_swift', None):
11551155
config.target_run_simple_swift_parameterized = \
11561156
(SubstituteCaptures('%%empty-directory(%%t) && '
1157-
'%s %s %%s \\1 -o %%t/a.out -module-name main && '
1157+
'%s %s %%s \\1 -o %%t/a.out -module-name main -Xfrontend -enable-sil-ownership && '
11581158
'%s %%t/a.out &&'
11591159
'%s %%t/a.out' % (config.target_build_swift,
11601160
mcp_opt, config.target_codesign,
11611161
config.target_run)))
11621162
config.target_run_simple_swift = (
11631163
'%%empty-directory(%%t) && '
1164-
'%s %s %%s -o %%t/a.out -module-name main && '
1164+
'%s %s %%s -o %%t/a.out -module-name main -Xfrontend -enable-sil-ownership && '
11651165
'%s %%t/a.out &&'
11661166
'%s %%t/a.out'
11671167
% (config.target_build_swift, mcp_opt, config.target_codesign, config.target_run))
11681168
config.target_run_stdlib_swift = (
11691169
'%%empty-directory(%%t) && '
11701170
'%s %s %%s -o %%t/a.out -module-name main '
1171-
'-Xfrontend -disable-access-control && '
1171+
'-Xfrontend -disable-access-control -Xfrontend -enable-sil-ownership && '
11721172
'%s %%t/a.out &&'
11731173
'%s %%t/a.out'
11741174
% (config.target_build_swift, mcp_opt, config.target_codesign, config.target_run))
11751175
config.target_run_simple_swiftgyb = (
11761176
'%%empty-directory(%%t) && '
11771177
'%%gyb %%s -o %%t/main.swift && '
11781178
'%%line-directive %%t/main.swift -- '
1179-
'%s %s %%t/main.swift -o %%t/a.out -module-name main && '
1179+
'%s %s %%t/main.swift -o %%t/a.out -module-name main -Xfrontend -enable-sil-ownership && '
11801180
'%s %%t/a.out &&'
11811181
'%%line-directive %%t/main.swift -- '
11821182
'%s %%t/a.out'
@@ -1186,7 +1186,7 @@ if not getattr(config, 'target_run_simple_swift', None):
11861186
'%%gyb %%s -o %%t/main.swift && '
11871187
'%%line-directive %%t/main.swift -- '
11881188
'%s %s %%t/main.swift -o %%t/a.out -module-name main '
1189-
'-Xfrontend -disable-access-control && '
1189+
'-Xfrontend -disable-access-control -Xfrontend -enable-sil-ownership && '
11901190
'%s %%t/a.out &&'
11911191
'%%line-directive %%t/main.swift -- '
11921192
'%s %%t/a.out'

0 commit comments

Comments
 (0)