From f329c492342d08382ca7eceb3ab35cc25cbe23e1 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Thu, 18 Oct 2018 10:29:34 +0300 Subject: [PATCH] Disable threading in tests --- tests/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/util.sh b/tests/util.sh index 6e46f3b6..7355cd31 100644 --- a/tests/util.sh +++ b/tests/util.sh @@ -46,7 +46,7 @@ valgrind_test() { # arguments. print_and_run \ 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 \ DecoderAnalyserAppStatic -b "${hevcfile}" @@ -67,7 +67,7 @@ encode_test() { set +e print_and_run \ 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="$?" set -e [ ${actual_status} -eq ${expected_status} ]