mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-12-04 05:54:05 +00:00
Add bitstream check to valgrind tests
This commit is contained in:
parent
3590a09cf8
commit
7947b18649
|
@ -7,4 +7,6 @@ if [ -n "$VALGRIND_TEST" ]; then
|
||||||
7z x ffmpeg-release-32bit-static.tar
|
7z x ffmpeg-release-32bit-static.tar
|
||||||
chmod +x ./ffmpeg-2.6.3-32bit-static/ffmpeg
|
chmod +x ./ffmpeg-2.6.3-32bit-static/ffmpeg
|
||||||
./ffmpeg-2.6.3-32bit-static/ffmpeg -f lavfi -i "mandelbrot=size=${TEST_DIM}:end_pts=10" -vframes $TEST_FRAMES -pix_fmt yuv420p mandelbrot_${TEST_DIM}.yuv
|
./ffmpeg-2.6.3-32bit-static/ffmpeg -f lavfi -i "mandelbrot=size=${TEST_DIM}:end_pts=10" -vframes $TEST_FRAMES -pix_fmt yuv420p mandelbrot_${TEST_DIM}.yuv
|
||||||
|
wget http://ultravideo.cs.tut.fi/ubuntu-12.04-hmdec-16.10.tgz
|
||||||
|
tar -xzvf ubuntu-12.04-hmdec-16.10.tgz
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -7,8 +7,9 @@ make --jobs=2 V=1
|
||||||
|
|
||||||
if [ -n "$VALGRIND_TEST" ]; then
|
if [ -n "$VALGRIND_TEST" ]; then
|
||||||
libtool execute valgrind --leak-check=full --error-exitcode=1 -- \
|
libtool execute valgrind --leak-check=full --error-exitcode=1 -- \
|
||||||
src/kvazaar -i mandelbrot_${TEST_DIM}.yuv --input-res=${TEST_DIM} -o /dev/null \
|
src/kvazaar -i mandelbrot_${TEST_DIM}.yuv --input-res=${TEST_DIM} \
|
||||||
$VALGRIND_TEST
|
-o test.265 $VALGRIND_TEST
|
||||||
|
./hmdec-16.10 -b test.265
|
||||||
elif [ -n "$EXPECTED_STATUS" ]; then
|
elif [ -n "$EXPECTED_STATUS" ]; then
|
||||||
set +e
|
set +e
|
||||||
libtool execute src/kvazaar $PARAMS
|
libtool execute src/kvazaar $PARAMS
|
||||||
|
|
Loading…
Reference in a new issue