-
Couldn't load subscription status.
- Fork 0
Add hedron and extend test suite #202
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
071a1bd to
bb6cb49
Compare
bb6cb49 to
e4d3161
Compare
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.
LGTM. Do you also want to extend the GitHub workflow to include the new functionality?
|
|
||
| TEST(BaseMathTest, SignPlus) { | ||
| EXPECT_EQ(Math::sign(10), 1); | ||
| //EXPECT_EQ(Math::sign(-10), -1); |
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.
Why is this commented out?
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.
Because I do not want to reach 100% coverage intentionally.
| load("@rules_swiftnav//cc:defs.bzl", "UNIT", "swift_cc_test") | ||
|
|
||
| swift_cc_library( | ||
| cc_library( |
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.
Why does this not use the swift macro?
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.
This is to test the behavior of the toolchains, when the normal rules are used (mimic behavior from 3rd party libs)
Extending the existing test suite helps for the upcoming task of refactoring the compile option handling. Also adding hedron compile commands.