vp9_spatial_svc_encoder.sh: Prevent failures when ssvc is unavailable.

Avoid running the tests when CONFIG_SPATIAL_SVC is 0.

Change-Id: I9b87ed206a9ba7de6827594fba275bd3f60faf2d
This commit is contained in:
Tom Finegan 2014-07-30 15:27:08 -07:00
parent a3b062c56f
commit 166b62346b

View File

@ -88,4 +88,8 @@ vp9_spatial_svc_tests="vp9_spatial_svc_mode_i
vp9_spatial_svc_mode_ip
vp9_spatial_svc_mode_gf"
run_tests vp9_spatial_svc_encoder_verify_environment "${vp9_spatial_svc_tests}"
if [ "$(vpx_config_option_enabled CONFIG_SPATIAL_SVC)" = "yes" ]; then
run_tests \
vp9_spatial_svc_encoder_verify_environment \
"${vp9_spatial_svc_tests}"
fi