From 4eae56d6601365da03ba8a1138674941a9b7cf8a Mon Sep 17 00:00:00 2001
From: Tom Finegan <tomfinegan@google.com>
Date: Thu, 10 Jul 2014 14:52:31 -0700
Subject: [PATCH] Add warning to temporal SVC test when temporal denoising is
 disabled.

Change-Id: Ib3792aa93514ccaf06c5d3f737f6e9243096f61c
---
 test/vpx_temporal_svc_encoder.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/vpx_temporal_svc_encoder.sh b/test/vpx_temporal_svc_encoder.sh
index b2e968fa88..96d16e8aee 100755
--- a/test/vpx_temporal_svc_encoder.sh
+++ b/test/vpx_temporal_svc_encoder.sh
@@ -21,6 +21,10 @@ vpx_tsvc_encoder_verify_environment() {
     echo "Libvpx test data must exist in LIBVPX_TEST_DATA_PATH."
     return 1
   fi
+  if [ "$(vpx_config_option_enabled CONFIG_TEMPORAL_DENOISING)" != "yes" ]; then
+    elog "Warning: Temporal denoising is disabled! Spatial denoising will be " \
+      "used instead, which is probably not what you want for this test."
+  fi
 }
 
 # Runs vpx_temporal_svc_encoder using the codec specified by $1 and output file
-- 
GitLab