Index: source/libvpx/test/vp8cx_set_ref.sh |
=================================================================== |
--- source/libvpx/test/vp8cx_set_ref.sh (revision 278778) |
+++ source/libvpx/test/vp8cx_set_ref.sh (working copy) |
@@ -34,7 +34,10 @@ |
local output_file="${VPX_TEST_OUTPUT_DIR}/vp8cx_set_ref_${codec}.ivf" |
local ref_frame_num=90 |
- [ -x "${encoder}" ] || return 1 |
+ if [ ! -x "${encoder}" ]; then |
+ elog "${encoder} does not exist or is not executable." |
+ return 1 |
+ fi |
eval "${encoder}" "${YUV_RAW_INPUT_WIDTH}" "${YUV_RAW_INPUT_HEIGHT}" \ |
"${YUV_RAW_INPUT}" "${output_file}" "${ref_frame_num}" \ |