diff options
author | Steve Holme <steve_holme@hotmail.com> | 2016-04-03 21:53:32 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2016-04-03 21:57:38 +0100 |
commit | 6264f617f8d81eefaaa612e99c071a2487340ab7 (patch) | |
tree | db18ab046ec28a31bd609d354764c546c0b84a09 /projects | |
parent | 066b2246727520d5311598f2c8cca423617c2d10 (diff) | |
download | curl-6264f617f8d81eefaaa612e99c071a2487340ab7.tar.gz |
checksrc.bat: Added tests/server directory support
In addition to commit 83b174b3f0 and following the recent changes.
Diffstat (limited to 'projects')
-rw-r--r-- | projects/checksrc.bat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/projects/checksrc.bat b/projects/checksrc.bat index 827127fd8..c9abaa4d9 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 |