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

UnitTests: avoid using glob to find compilation units #9032

Merged
merged 3 commits into from Aug 17, 2020

Conversation

shuffle2
Copy link
Contributor

Using * was always a hack, and now VS issues a warning upon solution/project load, so let's avoid hitting bad behavior by explicitly listing files.

This change exposed some compiler warnings (apparently because some files were not being compiled on windows before?!), so the PR also fixes those.

Also fixes a bug in IOS::HLE::FS::HostFileSystem::Rename (comparing to invalidated vector iterator) introduced in a40f297

GetFstEntryForPath may modify the children vector,
so do it before taking an iterator to the vector.
Fixes VS warning / bad behavior.
@leoetlino leoetlino merged commit fee6bef into dolphin-emu:master Aug 17, 2020
10 checks passed
@shuffle2 shuffle2 deleted the msbuild-unittests branch August 17, 2020 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants