mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
unit_tests: don't delete log file on windows, it will fail
This commit is contained in:
parent
475481949a
commit
c07366430a
1 changed files with 3 additions and 0 deletions
|
@ -44,7 +44,10 @@ static void init()
|
|||
|
||||
static void cleanup()
|
||||
{
|
||||
// windows does not let files be deleted if still in use, so leave droppings there
|
||||
#ifndef _WIN32
|
||||
boost::filesystem::remove(log_filename);
|
||||
#endif
|
||||
}
|
||||
|
||||
static size_t nlines(const std::string &str)
|
||||
|
|
Loading…
Reference in a new issue