From c00f4785dd3d963e0eb606d73e6d1640e80e80ff Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 22 Mar 2016 00:48:15 +0200 Subject: [PATCH] Fixed tests solution for visual studio --- tests/tests.vcxproj | 2 ++ tests/utils.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/tests.vcxproj b/tests/tests.vcxproj index cd8e5a5d..56787c71 100644 --- a/tests/tests.vcxproj +++ b/tests/tests.vcxproj @@ -83,6 +83,7 @@ Disabled true _MBCS;%(PreprocessorDefinitions) + $(SolutionDir)..\include;%(AdditionalIncludeDirectories) true @@ -112,6 +113,7 @@ true true _MBCS;%(PreprocessorDefinitions) + $(SolutionDir)..\include;%(AdditionalIncludeDirectories) true diff --git a/tests/utils.cpp b/tests/utils.cpp index 140465bd..83fdf84f 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -4,9 +4,9 @@ void prepare_logdir() { spdlog::drop_all(); #ifdef _WIN32 - auto rv = system("del /F /Q logs\\*"); + system("del /F /Q logs\\*"); #else - auto rv = system("rm -f logs/*"); + system("rm -f logs/*"); #endif }