mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
00ec1f16c5
- Make valgrind tests run in parallel. - Install only the tools necessary to run each test. - Make individual tests smaller and faster, but run more tests with a more diverse set of parameters.
13 lines
260 B
Bash
Executable file
13 lines
260 B
Bash
Executable file
#!/bin/sh
|
|
set -ev
|
|
|
|
if [ -z "$VALGRIND_TEST" ]; then
|
|
cd src
|
|
make
|
|
make tests
|
|
else
|
|
cd src
|
|
make debug
|
|
valgrind --leak-check=full --error-exitcode=1 ./kvazaar_debug -i ../mandelbrot_${TEST_DIM}.yuv --input-res=${TEST_DIM} -o /dev/null $VALGRIND_TEST
|
|
fi
|