updated build system
This commit is contained in:
@ -41,7 +41,8 @@ static void delete_generated_files() {
|
||||
generated_files.clear();
|
||||
|
||||
if (parent_path.has_value()) {
|
||||
EXPECT_TRUE(repertory::utils::file::remove_directory(*parent_path, true));
|
||||
EXPECT_TRUE(
|
||||
repertory::utils::file::directory(*parent_path).remove_recursively());
|
||||
}
|
||||
}
|
||||
|
||||
@ -110,8 +111,8 @@ auto get_test_output_dir() -> std::string {
|
||||
auto path = utils::path::combine("/tmp", {temp});
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
if (not utils::file::is_directory(path)) {
|
||||
EXPECT_TRUE(utils::file::create_directories(path));
|
||||
if (not utils::file::directory(path).exists()) {
|
||||
EXPECT_TRUE(utils::file::directory{path}.create_directory());
|
||||
}
|
||||
|
||||
return path;
|
||||
|
Reference in New Issue
Block a user