[Testing] Get tests running (dirty hack for linux)

This commit is contained in:
Herman S.
2025-10-14 14:19:12 +09:00
parent 14c2814654
commit 09a15fbedc
13 changed files with 209 additions and 46 deletions

View File

@@ -411,7 +411,10 @@ bool DiscoverTests(std::wstring& test_path,
for (auto& file_info : file_infos) {
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));
// Only include test files (instr_*.s), not helper files
if (file_info.name.find(L"instr_") == 0) {
test_files.push_back(xe::join_paths(test_path, file_info.name));
}
}
}
return true;