Skip to content

Commit 2b6f100

Browse files
committed
Swift: update qltest test
1 parent 2311e1c commit 2b6f100

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/tools/test/qltest/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def assert_extractor_executed_with(*flags):
6060
for actual, expected in itertools.zip_longest(execution, flags):
6161
if actual:
6262
actual = actual.strip()
63-
expected_prefix = f"-sdk {swift_root}/qltest/{platform}/sdk -resource-dir {swift_root}/resource-dir/{platform} -c -primary-file "
64-
assert actual.startswith(expected_prefix), f"correct sdk option not found in\n{actual}"
63+
expected_prefix = f"-resource-dir {swift_root}/resource-dir/{platform} -c -primary-file "
64+
assert actual.startswith(expected_prefix), f"correct options not found in\n{actual}"
6565
actual = actual[len(expected_prefix):]
6666
assert actual, f"\nnot encountered: {expected}"
6767
assert expected, f"\nunexpected: {actual}"

0 commit comments

Comments
 (0)