tests: add jak3 typeconsistency test and ensure offline tests are working (#3310)

This commit is contained in:
Tyler Wilding
2024-01-16 00:15:33 -05:00
committed by GitHub
parent 07427799a6
commit 4101d5d80e
14 changed files with 86 additions and 28 deletions
+3
View File
@@ -636,6 +636,9 @@ std::vector<fs::path> find_files_in_dir(const fs::path& dir, const std::regex& p
std::vector<fs::path> find_files_recursively(const fs::path& base_dir, const std::regex& pattern) {
std::vector<fs::path> files = {};
if (!fs::exists(base_dir)) {
return files;
}
for (auto& p : fs::recursive_directory_iterator(base_dir)) {
if (p.is_regular_file()) {
if (std::regex_match(p.path().filename().string(), pattern)) {