ref: a3c27960397354d796c268cbeefaa293759348fc
parent: 12781ef3ccb14db277041f3c921e2e1d73fe27a1
parent: 0f2ef13d1603e3ba1f3d25ceb5e01a05b0a5b17e
author: James Zern <jzern@google.com>
date: Mon Jul 30 23:08:55 EDT 2018
Merge "test/stress.sh: add --token-parts coverage for vp8"
--- a/test/stress.sh
+++ b/test/stress.sh
@@ -144,6 +144,19 @@
fi
}
+vp8_stress_test_token_parititions() {
+ local vp8_max_jobs=${STRESS_VP8_DECODE_MAX_JOBS:-40}
+ if [ "$(vp8_decode_available)" = "yes" -a \
+ "$(vp8_encode_available)" = "yes" ]; then
+ for threads in 2 4 8; do
+ for token_partitions in 1 2 3; do
+ stress vp8 "${VP8}" "${vp8_max_jobs}" ${threads} \
+ "--token-parts=$token_partitions"
+ done
+ done
+ fi
+}
+
vp9_stress() {
local vp9_max_jobs=${STRESS_VP9_DECODE_MAX_JOBS:-25}
@@ -166,4 +179,5 @@
}
run_tests stress_verify_environment \
- "vp8_stress_test vp9_stress_test vp9_stress_test_row_mt"
+ "vp8_stress_test vp8_stress_test_token_parititions
+ vp9_stress_test vp9_stress_test_row_mt"