mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-23 14:20:07 +00:00
18 lines
461 B
C++
18 lines
461 B
C++
#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();
|
|
} |