Skip to content

Commit 4784e6e

Browse files
Pass variant triple to refactor invocations in tests
This fixes 71 tests for Android on Windows that previously failed with: error: unable to load standard library for target 'x86_64-unknown-windows-msvc'
1 parent 664b426 commit 4784e6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/refactoring/lit.local.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
config.substitutions.append((r'%refactor-check-compiles', f'{config.python} {config.refactor_check_compiles} -swift-refactor {config.swift_refactor} -swift-frontend {config.swift_frontend} -temp-dir %t {config.resource_dir_opt}'))
2-
config.substitutions.append((r'%refactor', f'{config.swift_refactor} {config.resource_dir_opt}'))
1+
config.substitutions.append((r'%refactor-check-compiles', f'{config.python} {config.refactor_check_compiles} -swift-refactor {config.swift_refactor} -swift-frontend {config.swift_frontend} -temp-dir %t {config.resource_dir_opt} -target {config.variant_triple}'))
2+
config.substitutions.append((r'%refactor', f'{config.swift_refactor} {config.resource_dir_opt} -target {config.variant_triple}'))

0 commit comments

Comments
 (0)