Disable threading in tests

This commit is contained in:
Marko Viitanen 2018-10-18 10:29:34 +03:00
parent b133e7de1e
commit f329c49234

View file

@ -46,7 +46,7 @@ valgrind_test() {
# arguments. # arguments.
print_and_run \ print_and_run \
libtool execute $valgrind \ libtool execute $valgrind \
../src/kvazaar --cpuid=0 -i "${yuvfile}" "--input-res=${dimensions}" -o "${hevcfile}" "$@" ../src/kvazaar --cpuid=0 -i "${yuvfile}" "--input-res=${dimensions}" -o "${hevcfile}" "$@" "--threads=0" "--no-wpp"
print_and_run \ print_and_run \
DecoderAnalyserAppStatic -b "${hevcfile}" DecoderAnalyserAppStatic -b "${hevcfile}"
@ -67,7 +67,7 @@ encode_test() {
set +e set +e
print_and_run \ print_and_run \
libtool execute \ libtool execute \
../src/kvazaar --cpuid=0 -i "${yuvfile}" "--input-res=${dimensions}" -o "${hevcfile}" "$@" ../src/kvazaar --cpuid=0 -i "${yuvfile}" "--input-res=${dimensions}" -o "${hevcfile}" "$@" "--threads=0" "--no-wpp"
actual_status="$?" actual_status="$?"
set -e set -e
[ ${actual_status} -eq ${expected_status} ] [ ${actual_status} -eq ${expected_status} ]