From: Steve Holme Date: Sun, 3 Apr 2016 20:53:32 +0000 (+0100) Subject: checksrc.bat: Added tests/server directory support X-Git-Tag: curl-7_49_0~197 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6264f617f8d81eefaaa612e99c071a2487340ab7;p=thirdparty%2Fcurl.git checksrc.bat: Added tests/server directory support In addition to commit 83b174b3f0 and following the recent changes. --- diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 827127fd81..c9abaa4d9a 100644 --- a/projects/checksrc.bat +++ b/projects/checksrc.bat @@ -123,6 +123,12 @@ rem *************************************************************************** for /f "delims=" %%i in ('dir "%SRC_DIR%\tests\unit\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\tests\unit" "%%i" for /f "delims=" %%i in ('dir "%SRC_DIR%\tests\unit\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\tests\unit" "%%i" ) + + rem Check the tests\server directory + if exist %SRC_DIR%\tests\server ( + for /f "delims=" %%i in ('dir "%SRC_DIR%\tests\server\*.c.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\tests\server" "%%i" + for /f "delims=" %%i in ('dir "%SRC_DIR%\tests\server\*.h.*" /b 2^>NUL') do @perl "%SRC_DIR%\lib\checksrc.pl" "-D%SRC_DIR%\tests\server" "%%i" + ) ) goto success