Built SDL2_image and _mixer static
This commit is contained in:
2
libsdl2_image/external/libpng-1.6.37/tests/pngimage-full
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngimage-full
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngimage --exhaustive --list-combos --log "${srcdir}/contrib/pngsuite/"*.png
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngimage-quick
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngimage-quick
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngimage --list-combos --log "${srcdir}/contrib/pngsuite/"*.png
|
54
libsdl2_image/external/libpng-1.6.37/tests/pngstest
vendored
Executable file
54
libsdl2_image/external/libpng-1.6.37/tests/pngstest
vendored
Executable file
@ -0,0 +1,54 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Usage:
|
||||
#
|
||||
# tests/pngstest gamma alpha
|
||||
#
|
||||
# Run ./pngstest on the PNG files in $srcdir/contrib/testpngs which have the
|
||||
# given gamma and opacity:
|
||||
#
|
||||
# gamma: one of; linear, 1.8, sRGB, none.
|
||||
# alpha: one of; opaque, tRNS, alpha, none. 'none' is equivalent to !alpha
|
||||
#
|
||||
# NOTE: the temporary files pngstest generates have the base name gamma-alpha to
|
||||
# avoid issues with make -j
|
||||
#
|
||||
gamma="$1"
|
||||
shift
|
||||
alpha="$1"
|
||||
shift
|
||||
args=
|
||||
LC_ALL="C" # fix glob sort order to ASCII:
|
||||
for f in "${srcdir}/contrib/testpngs/"*.png
|
||||
do
|
||||
g=
|
||||
case "$f" in
|
||||
*-linear[.-]*)
|
||||
test "$gamma" = "linear" && g="$f";;
|
||||
|
||||
*-sRGB[.-]*)
|
||||
test "$gamma" = "sRGB" && g="$f";;
|
||||
|
||||
*-1.8[.-]*)
|
||||
test "$gamma" = "1.8" && g="$f";;
|
||||
|
||||
*)
|
||||
test "$gamma" = "none" && g="$f";;
|
||||
esac
|
||||
|
||||
case "$g" in
|
||||
"")
|
||||
:;;
|
||||
|
||||
*-alpha[-.]*)
|
||||
test "$alpha" = "alpha" && args="$args $g";;
|
||||
|
||||
*-tRNS[-.]*)
|
||||
test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";;
|
||||
|
||||
*)
|
||||
test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";;
|
||||
esac
|
||||
done
|
||||
# This only works if the arguments don't contain spaces; they don't.
|
||||
exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $args
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-1.8
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-1.8
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" 1.8 none
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-1.8-alpha
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-1.8-alpha
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" 1.8 alpha
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-linear
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-linear
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" linear none
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-linear-alpha
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-linear-alpha
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" linear alpha
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-none
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-none
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" none none
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-none-alpha
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-none-alpha
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" none alpha
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-sRGB
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-sRGB
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" sRGB none
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-sRGB-alpha
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngstest-sRGB-alpha
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec "${srcdir}/tests/pngstest" sRGB alpha
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngtest
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngtest
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngtest --strict ${srcdir}/pngtest.png
|
13
libsdl2_image/external/libpng-1.6.37/tests/pngtest-badpngs
vendored
Executable file
13
libsdl2_image/external/libpng-1.6.37/tests/pngtest-badpngs
vendored
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
# various crashers
|
||||
# using --relaxed because some come from fuzzers that don't maintain CRC's
|
||||
|
||||
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badcrc.png
|
||||
./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badadler.png
|
||||
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/bad_iCCP.png
|
||||
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/empty_ancillary_chunks.png
|
||||
./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_*_chunk.png \
|
||||
${srcdir}/contrib/testpngs/crashers/huge_*safe_to_copy.png
|
||||
|
||||
exec ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_IDAT.png
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-IDAT
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-IDAT
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=discard IDAT=save "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-discard
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-discard
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=discard "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-if-safe
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-if-safe
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=if-safe "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-sAPI
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-sAPI
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-sTER
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-sTER
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict sTER=if-safe "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-save
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-save
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict default=save "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-vpAg
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngunknown-vpAg
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngunknown --strict vpAg=if-safe "${srcdir}/pngtest.png"
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-16-to-8
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-16-to-8
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-16-to-8
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-alpha-mode
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-alpha-mode
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-alpha-mode
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-background
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-background
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-background
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-expand16-alpha-mode
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-expand16-alpha-mode
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-alpha-mode --expand16
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-expand16-background
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-expand16-background
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-background --expand16
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-expand16-transform
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-expand16-transform
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-transform --expand16
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-sbit
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-sbit
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-sbit
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-threshold
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-threshold
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-threshold
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-transform
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-gamma-transform
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --gamma-transform
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-progressive-interlace-standard
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-progressive-interlace-standard
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --standard --progressive-read --interlace
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-progressive-size
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-progressive-size
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --size --progressive-read
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-progressive-standard
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-progressive-standard
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --standard --progressive-read
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-standard
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-standard
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --standard
|
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-transform
vendored
Executable file
2
libsdl2_image/external/libpng-1.6.37/tests/pngvalid-transform
vendored
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec ./pngvalid --strict --transform
|
Reference in New Issue
Block a user