Skip to content

Handle the presence of the "target triple" output line in TestCaseIterationTests. - #1947

Merged
grynspan merged 2 commits into
mainfrom
jgrynspan/maybe-have-triple-in-test-case-iteration-tests
Oct 7, 2026
Merged

grynspan merged 2 commits into
mainfrom
jgrynspan/maybe-have-triple-in-test-case-iteration-tests

Conversation

@grynspan

@grynspan grynspan commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

This test is sensitive to differences in output from Swift Testing. In particular, when we build with CMake, we emit an additional line of text indicating the target triple, which confuses some of the tests.

This PR inserts the appropriate regex to match that line if the target triple was set at build time so that the tests pass.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

…rationTests.

This test is sensitive to differences in output from Swift Testing. In
particular, when we build with CMake, we emit an additional line of text
indicating the target triple, which confuses some of the tests.

This PR inserts the appropriate regex to match that line if the target triple
was set at build time so that the tests pass.
@grynspan grynspan added this to the Swift 6.5.0 (main) milestone Oct 6, 2026
@grynspan grynspan self-assigned this Oct 6, 2026
@grynspan grynspan added the bug 🪲 Something isn't working label Oct 6, 2026
@grynspan
grynspan merged commit df807f6 into main Oct 7, 2026
26 of 27 checks passed
@grynspan
grynspan deleted the jgrynspan/maybe-have-triple-in-test-case-iteration-tests branch October 7, 2026 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants