diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2017-01-19 23:58:37 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2017-01-19 23:58:37 +0100 |
commit | 971d1ff169048eb15c4b4d148e5766a039c117fc (patch) | |
tree | 01eaed76d83e1d02bc4db2c9326871674cad5ff4 /windows/gentest.bat | |
parent | 59ea5748e91aa6841e88c7bfc0ee14cd0d8d6896 (diff) | |
download | libgd-971d1ff169048eb15c4b4d148e5766a039c117fc.tar.gz |
Exclude tests/tiff/ on Windows
Currently, we don't support libtiff on Windows, so it doesn't make
sense to try to build the TIFF related test cases.
Diffstat (limited to 'windows/gentest.bat')
-rw-r--r-- | windows/gentest.bat | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/windows/gentest.bat b/windows/gentest.bat index 9c2cbeb..6c9465e 100644 --- a/windows/gentest.bat +++ b/windows/gentest.bat @@ -1,35 +1,35 @@ -SETLOCAL ENABLEDELAYEDEXPANSION -@echo off -set testsdir=%~1 -set builddir=%~2 -set CFLAGS=%~3 -set LDFLAGS=%~4 -set CC=%~5 -set LD=%~6 -set TESTMK=%~7 -set TESTLIST=%~8 -echo %* -echo recieved !testsdir! !builddir! !CFLAGS! !LDFLAGS! !CC! - -copy NUL !TESTMK! > nul -copy NUL !TESTLIST! > nul - -for /D %%d in (!testsdir!/*) do ( - if NOT "%%d"=="gdtest" for %%f in (!testsdir!/%%d/*.c) do ( - echo TEST_EXES=!builddir!\tests\%%d_%%~nf.exe ^$^(TEST_EXES^) >> !TESTMK! - ) -) - -for /D %%d in (!testsdir!/*) do ( - if NOT "%%d"=="gdtest" for %%f in (!testsdir!/%%d/*.c) do ( - echo !builddir!\%%d_%%~nf.obj: !testsdir!\%%d\%%f; ^$^(CC^) ^$^(TEST_CFLAGS^) /c ^$** /Fo:$@ >> !TESTMK! - ) -) - -for /D %%d in (!testsdir!/*) do ( - if NOT "%%d"=="gdtest" for %%f in (!testsdir!/%%d/*.c) do ( - echo !builddir!\tests\%%d_%%~nf.exe: !builddir!\%%d_%%~nf.obj; !LD! !LDFLAGS! $** /out:$@ >> !TESTMK! - echo %%d_%%~nf.exe >> !TESTLIST! - ) -) +SETLOCAL ENABLEDELAYEDEXPANSION
+@echo off
+set testsdir=%~1
+set builddir=%~2
+set CFLAGS=%~3
+set LDFLAGS=%~4
+set CC=%~5
+set LD=%~6
+set TESTMK=%~7
+set TESTLIST=%~8
+echo %*
+echo recieved !testsdir! !builddir! !CFLAGS! !LDFLAGS! !CC!
+
+copy NUL !TESTMK! > nul
+copy NUL !TESTLIST! > nul
+
+for /D %%d in (!testsdir!/*) do (
+ if NOT "%%d"=="gdtest" if NOT "%%d"=="tiff" for %%f in (!testsdir!/%%d/*.c) do (
+ echo TEST_EXES=!builddir!\tests\%%d_%%~nf.exe ^$^(TEST_EXES^) >> !TESTMK!
+ )
+)
+
+for /D %%d in (!testsdir!/*) do (
+ if NOT "%%d"=="gdtest" if NOT "%%d"=="tiff" for %%f in (!testsdir!/%%d/*.c) do (
+ echo !builddir!\%%d_%%~nf.obj: !testsdir!\%%d\%%f; ^$^(CC^) ^$^(TEST_CFLAGS^) /c ^$** /Fo:$@ >> !TESTMK!
+ )
+)
+
+for /D %%d in (!testsdir!/*) do (
+ if NOT "%%d"=="gdtest" if NOT "%%d"=="tiff" for %%f in (!testsdir!/%%d/*.c) do (
+ echo !builddir!\tests\%%d_%%~nf.exe: !builddir!\%%d_%%~nf.obj; !LD! !LDFLAGS! $** /out:$@ >> !TESTMK!
+ echo %%d_%%~nf.exe >> !TESTLIST!
+ )
+)
ENDLOCAL
\ No newline at end of file |