-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[test] Change stored-properties-client to an executable test #21426
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
[test] Change stored-properties-client to an executable test #21426
Conversation
@swift-ci please test |
Build failed |
Build failed |
Linux... 🤦♂️ |
I mean, Windows too. @compnerd just added a substitution for library names because of this. |
// RUN: %target-swift-frontend -typecheck %S/stored-properties.swift -module-name StoredProperties -emit-parseable-module-interface-path %t/StoredProperties.swiftinterface | ||
// RUN: %target-swift-frontend -emit-ir %s -I %t -enable-parseable-module-interface | %FileCheck %s -check-prefix CHECK -check-prefix COMMON | ||
// RUN: %target-build-swift -emit-library %S/stored-properties.swift -module-name StoredProperties -o %t/libStoredProperties.dylib |
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.
Please use %target-library-name(StoredProperties)
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.
Thanks!
|
||
// REQUIRES: rdar_46486517 | ||
// RUN: %target-swift-frontend -typecheck %S/stored-properties.swift -enable-resilience -module-name StoredProperties -emit-parseable-module-interface-path %t/StoredProperties.swiftinterface | ||
// RUN: %target-build-swift -emit-library %S/stored-properties.swift -module-name StoredProperties -o %t/libStoredProperties.dylib |
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.
Here too.
c13f233
to
cd844bb
Compare
@swift-ci please test |
Build failed |
Build failed |
cd844bb
to
aeeab87
Compare
@swift-ci please test |
Build failed |
Build failed |
aeeab87
to
e2e6876
Compare
@swift-ci please test |
Build failed |
Build failed |
e2e6876
to
1c8a395
Compare
@swift-ci please test |
Build failed |
1c8a395
to
881e1b0
Compare
@swift-ci please smoke test Linux |
@swift-ci please smoke test |
This test was overfitting what it was trying to test, causing different targets (and even different assert configurations) to fail to match. Instead, make this an executable test and ensure that round-tripping through setting and getting behaves as expected. Fixes rdar://46486517
881e1b0
to
3efc8b9
Compare
@swift-ci please smoke test Linux |
@swift-ci please test |
Build failed |
Build failed |
Test was enabled in swiftlang#21426, but it was not marked as executable, and the Android CI has been trying to run it in the builder, and failing.
This test was overfitting what it was trying to test, causing different
targets (and even different assert configurations) to fail to match.
Instead, make this an executable test and ensure that round-tripping
through setting and getting behaves as expected.
Fixes rdar://46486517