From 12672c24d326337b379822493d0963e6f9a44360 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Mon, 16 Jun 2014 10:57:00 -0700 Subject: example tests: Make failures due to incorrect bin path easier to diagnose. Add elog() to tools_common, and checks for the executable in each test. Change-Id: I3c6334eca62c0b56040d91145abbe1bf5f9c763c --- test/postproc.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/postproc.sh') diff --git a/test/postproc.sh b/test/postproc.sh index 050a36849..c9c4e5813 100755 --- a/test/postproc.sh +++ b/test/postproc.sh @@ -32,7 +32,10 @@ postproc() { local codec="$2" local output_file="${VPX_TEST_OUTPUT_DIR}/postproc_${codec}.raw" - [ -x "${decoder}" ] || return 1 + if [ ! -x "${decoder}" ]; then + elog "${decoder} does not exist or is not executable." + return 1 + fi eval "${decoder}" "${input_file}" "${output_file}" ${devnull} -- cgit v1.2.3