summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Finegan <tomfinegan@google.com>2014-07-30 21:07:43 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-07-30 21:07:43 -0700
commit3249f26ff85e2bfe148167ce80df53643a89a2d2 (patch)
treea2d0cc1db819fc6dc6d9aeb77b3ea4ece6b7032a
parentd6f3d7bdbbcdc9fb1a7f2751b159ab314420fed0 (diff)
parent166b62346b5c43edcde01bf69ef4104bfc4cdf59 (diff)
downloadlibvpx-3249f26ff85e2bfe148167ce80df53643a89a2d2.tar
libvpx-3249f26ff85e2bfe148167ce80df53643a89a2d2.tar.gz
libvpx-3249f26ff85e2bfe148167ce80df53643a89a2d2.tar.bz2
libvpx-3249f26ff85e2bfe148167ce80df53643a89a2d2.zip
Merge "vp9_spatial_svc_encoder.sh: Prevent failures when ssvc is unavailable."
-rwxr-xr-xtest/vp9_spatial_svc_encoder.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/vp9_spatial_svc_encoder.sh b/test/vp9_spatial_svc_encoder.sh
index a5728f677..b48b9e1d2 100755
--- a/test/vp9_spatial_svc_encoder.sh
+++ b/test/vp9_spatial_svc_encoder.sh
@@ -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