Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9032 from shuffle2/msbuild-unittests
UnitTests: avoid using glob to find compilation units
  • Loading branch information
leoetlino committed Aug 17, 2020
2 parents b5241d1 + d40ae8a commit fee6bef
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 193 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Core/IOS/FS/HostBackend/FS.cpp
Expand Up @@ -515,9 +515,9 @@ ResultCode HostFileSystem::Rename(Uid uid, Gid gid, const std::string& old_path,
}

// Finally, remove the child from the old parent and move it to the new parent.
FstEntry* new_entry = GetFstEntryForPath(new_path);
const auto it = std::find_if(old_parent->children.begin(), old_parent->children.end(),
GetNamePredicate(split_old_path.file_name));
FstEntry* new_entry = GetFstEntryForPath(new_path);
if (it != old_parent->children.end())
{
*new_entry = *it;
Expand Down
2 changes: 1 addition & 1 deletion Source/UnitTests/Core/CMakeLists.txt
Expand Up @@ -10,7 +10,7 @@ add_dolphin_test(DSPAssemblyTest
DSP/HermesBinary.cpp
)

add_dolphin_test(ESFormatsTest IOS/ES/FormatsTest.cpp IOS/ES/TestBinaryData.cpp)
add_dolphin_test(ESFormatsTest IOS/ES/FormatsTest.cpp)

add_dolphin_test(FileSystemTest IOS/FS/FileSystemTest.cpp)

Expand Down
173 changes: 0 additions & 173 deletions Source/UnitTests/Core/IOS/ES/TestBinaryData.cpp

This file was deleted.

0 comments on commit fee6bef

Please sign in to comment.