Skip to content

Commit

Permalink
Note about removeAll on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
  • Loading branch information
caguero committed Aug 28, 2024
1 parent f3d168c commit ab269e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Console_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ TEST_F(Console_TEST, NoInitAndLog)
std::string path;
EXPECT_TRUE(common::env(GZ_HOMEDIR, path));
path = common::joinPaths(path, logPath);

// This is causing an issue on Windows as the resource is busy,
// probably locked by spdlog.
common::removeAll(path);
}

Expand Down Expand Up @@ -120,6 +123,9 @@ TEST_F(Console_TEST, InitAndLog)

// Cleanup
gzLogClose();

// This is causing an issue on Windows as the resource is busy,
// probably locked by spdlog.
common::removeAll(basePath);
}

Expand Down

0 comments on commit ab269e8

Please sign in to comment.