Skip to content
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

Android fixes from bliz #1112

Closed
wants to merge 5 commits into from
Closed

Conversation

TurkeyMan
Copy link
Contributor

No description provided.

Copy link
Contributor

@tvandijck tvandijck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to see Blizzard continuing merging back ;)

Copy link
Member

@samsinsane samsinsane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm marking this as request changes for the second comment, related to $(Platform), as it seems wrong to me.

@@ -65,6 +65,7 @@
"3.5",
"3.6",
"3.8",
"5.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to see this list disappear one day, a function that checks if there's a . and that both sides contain a number should be sufficient. We just need to generate {Toolset}_{LeftNumber}_{RightNumber} - a PR into core shouldn't be required to use a different version of the toolset. I'm happy for a warning to be emit when encountering a toolset outside of this list, but only a warning not an error like we do now.

function suite.structureIsCorrect_onDefaultValues()
prepare()
test.capture [[
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Android'" Label="Configuration">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem right to me, the value for $(Platform) was always x86, x64, ARM or ARM64 for me, why is it Android now?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not my code! The tests run ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can Android use the arch as the platform, and not be confused with windows configurations (that are also named for the arch)?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's something wrong with the test cases in general. We already had test cases for rtti and there a bug fixes here specifically for rtti. Somehow the tests are working differently in isolation and it might be why the platform is weird here too.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, this looks like the vs-android configuration. Microsoft uses the platform to indicate the architecture, not the system - they use ApplicationType to indicate the system. I would say that the action isn't being set correctly for the tests, it does seem to set p.action.set("vs2015") in the suite.setup() which mightn't be the correct way of doing this in the unit tests. Might be worth giving "vs2015" a search in the tests folder and seeing how it's done elsewhere. 👍

@TurkeyMan
Copy link
Contributor Author

@tvandijck It was getting out of hand... something had to be done >_<
I was not responsible for any of these changes (I make changes to github first, bliz second), and there's quite a few in here that I'm not sure about the intent. Kinda hard to know what should be pushed back or not.

@samsinsane
Copy link
Member

@TurkeyMan have you had a chance to fix this up?

@TurkeyMan TurkeyMan force-pushed the android_fixes branch 3 times, most recently from a0df305 to 861982c Compare December 8, 2018 02:36
bwhittle and others added 5 commits January 16, 2019 16:59
* fixed exception handling and rtti 'Off' setting
ignored warnings now auto generated additional build params as such
added support for pch (which need to take a relative path from cwd)
instead of a file located via the search path.

* added unit test for android pch
@starkos
Copy link
Member

starkos commented Oct 14, 2019

I think this one needs to be closed. It looks like some of the issues it addresses have already been fixed in other PRs, and there hasn't been any movement here.

Happy to see this one re-opened, but the individual fixes really should be broken out into separate PRs so they can be approved independently. Going forward, I'll be encouraging more pushback in that direction.

@starkos starkos closed this Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants