Exclude tests/fontconfig/ on Windows

We don't support libfontconfig on Windows, so it doesn't make sense to
build the fontconfig related test cases, as they are supposed to fail
anyway.
master
Christoph M. Becker 2017-01-20 18:21:19 +01:00
parent 0e4bf002ea
commit d225bb5c23
1 changed files with 3 additions and 3 deletions

View File

@ -15,19 +15,19 @@ 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 (
if NOT "%%d"=="fontconfig" 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 (
if NOT "%%d"=="fontconfig" 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 ^$** /Fd$*.pdb /Fo:$@ >> !TESTMK!
)
)
for /D %%d in (!testsdir!/*) do (
if NOT "%%d"=="gdtest" if NOT "%%d"=="tiff" for %%f in (!testsdir!/%%d/*.c) do (
if NOT "%%d"=="fontconfig" 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!
)