fixed tests

This commit is contained in:
gabime 2015-05-15 21:56:06 +03:00
parent dcdf2280c8
commit d7b0b54c9c
2 changed files with 3 additions and 2 deletions

View File

@ -36,9 +36,9 @@ static void prepare_logdir()
{
spdlog::drop_all();
#ifdef _WIN32
auto rv = system("mkdir logs;del /F /Q logs\\*");
auto rv = system("del /F /Q logs\\*");
#else
auto rv = system("mkdir logs;rm -f logs/*");
auto rv = system("rm -f logs/*");
#endif
}

1
tests/logs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@