mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
Final polish on the integer tests, time to start converting the rest
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
#include <common\util\FileUtil.h>
|
||||
#include <filesystem>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
|
||||
// Re-init failed folder
|
||||
std::string failedFolder = file_util::get_file_path({"test/goalc/source_generated/failed/"});
|
||||
if (std::filesystem::exists(failedFolder)) {
|
||||
std::filesystem::remove_all(failedFolder);
|
||||
}
|
||||
std::filesystem::create_directory(failedFolder);
|
||||
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
Reference in New Issue
Block a user