diff --git a/src/xenia/cpu/ppc/testing/ppc_testing_main.cc b/src/xenia/cpu/ppc/testing/ppc_testing_main.cc index 443159f92..f2c5d701d 100644 --- a/src/xenia/cpu/ppc/testing/ppc_testing_main.cc +++ b/src/xenia/cpu/ppc/testing/ppc_testing_main.cc @@ -359,7 +359,8 @@ bool DiscoverTests(std::wstring& test_path, std::vector& test_files) { auto file_infos = xe::filesystem::ListFiles(test_path); for (auto& file_info : file_infos) { - if (file_info.name.rfind(L".s") == file_info.name.size() - 2) { + if (file_info.name != L"." && file_info.name != L".." && + file_info.name.rfind(L".s") == file_info.name.size() - 2) { test_files.push_back(xe::join_paths(test_path, file_info.name)); } }