From d92728b334f59fdcc59878444e43fcde353df950 Mon Sep 17 00:00:00 2001 From: Davis King Date: Mon, 21 Aug 2017 21:27:38 -0400 Subject: [PATCH] Made windows testing bat file use rmdir rather than rm since rm isn't always available on windows. --- dlib/test/WINDOWS_build_and_run_all_unit_tests.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlib/test/WINDOWS_build_and_run_all_unit_tests.bat b/dlib/test/WINDOWS_build_and_run_all_unit_tests.bat index aa6ebada7..0cacfa631 100644 --- a/dlib/test/WINDOWS_build_and_run_all_unit_tests.bat +++ b/dlib/test/WINDOWS_build_and_run_all_unit_tests.bat @@ -6,7 +6,7 @@ rem the pings are to wait between builds so visual studio doesn't get in a funk. echo testing python >> test_log.txt -rm -rf build_python +rmdir /S /Q build_python mkdir build_python cd build_python cmake -G "Visual Studio 14 2015 Win64" ../../../tools/python -DPYTHON3=ON @@ -17,7 +17,7 @@ cd .. echo testing vc2015 >> test_log.txt -rm -rf build_vc2015_64 +rmdir /S /Q build_vc2015_64 mkdir build_vc2015_64 cd build_vc2015_64 cmake -G "Visual Studio 14 2015 Win64" ..