]> granicus.if.org Git - libvpx/commitdiff
vp9_spatial_svc_encoder.sh: Prevent failures when ssvc is unavailable.
authorTom Finegan <tomfinegan@google.com>
Wed, 30 Jul 2014 22:27:08 +0000 (15:27 -0700)
committerTom Finegan <tomfinegan@google.com>
Wed, 30 Jul 2014 22:27:08 +0000 (15:27 -0700)
Avoid running the tests when CONFIG_SPATIAL_SVC is 0.

Change-Id: I9b87ed206a9ba7de6827594fba275bd3f60faf2d

test/vp9_spatial_svc_encoder.sh

index a5728f677608a4e45f4be77f8543bc699355dbfa..b48b9e1d214d9f8b7d7cd6cf02fbac50ff808443 100755 (executable)
@@ -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