mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
fixed tests
This commit is contained in:
parent
dcdf2280c8
commit
d7b0b54c9c
@ -36,9 +36,9 @@ static void prepare_logdir()
|
|||||||
{
|
{
|
||||||
spdlog::drop_all();
|
spdlog::drop_all();
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
auto rv = system("mkdir logs;del /F /Q logs\\*");
|
auto rv = system("del /F /Q logs\\*");
|
||||||
#else
|
#else
|
||||||
auto rv = system("mkdir logs;rm -f logs/*");
|
auto rv = system("rm -f logs/*");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
tests/logs/.gitignore
vendored
Normal file
1
tests/logs/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
Loading…
Reference in New Issue
Block a user