-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Improve attr_implements_fp.swift test. #20841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…he expected behavior.
@swift-ci Please smoke test |
@swift-ci Please smoke test |
test/attr/attr_implements_fp.swift
Outdated
@@ -1,6 +1,6 @@ | |||
// RUN: %empty-directory(%t) | |||
// RUN: echo 'main()' >%t/main.swift | |||
// RUN: %target-swiftc_driver -o %t/a.out %s %t/main.swift -Xfrontend -enable-operator-designated-types -Xfrontend -solver-enable-operator-designated-types | |||
// RUN: %target-swiftc_driver -Xfrontend -enable-operator-designated-types -Xfrontend -solver-enable-operator-designated-types -o %t/a.out %s %t/main.swift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're improving this test anyway, please use %target-build-swift
instead of %target-swiftc_driver
, which includes things like -module-cache-path
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Okay, that one specifically is in both, but there are some other options that are only in target-build-swift
. And I should probably look into whether we still need both.)
Interesting. Swapping the position of the frontend arguments doesn't make any difference, but running tests with |
This reverts commit 0346fed. It turns out moving these arguments didn't result in this test passing. For some reason it's failing with `build-script -t`, but passing with `lit`.
This also builds `attr_implements_fp.swift`, and then uses it, so it also needed updating.
Oh actually it's |
@swift-ci Please smoke test |
Several small changes: