diff options
author | Tom Finegan <tomfinegan@google.com> | 2014-07-10 15:17:05 -0700 |
---|---|---|
committer | Tom Finegan <tomfinegan@google.com> | 2014-07-10 15:32:01 -0700 |
commit | 926a6f63cb362098cb5ee5332f0e8149ae452675 (patch) | |
tree | 8bd9908a0c9c2a2fa5a53bc6ba4e792025eb5810 /test/vp9_spatial_svc_encoder.sh | |
parent | 46441ec5c88529a9a3d4860d899992bf23e368e6 (diff) | |
download | libvpx-926a6f63cb362098cb5ee5332f0e8149ae452675.tar libvpx-926a6f63cb362098cb5ee5332f0e8149ae452675.tar.gz libvpx-926a6f63cb362098cb5ee5332f0e8149ae452675.tar.bz2 libvpx-926a6f63cb362098cb5ee5332f0e8149ae452675.zip |
sh tests: Add support for running tested programs within another program.
Specifying the --prefix command line arg executes all test programs within the
context of the prefix string, which is assigned to VPX_TEST_PREFIX.
All test functions updated to include VPX_TEST_PREFIX in their eval command.
Change-Id: I2e215cc8f216048edf3269db02a6b5660fe32318
Diffstat (limited to 'test/vp9_spatial_svc_encoder.sh')
-rwxr-xr-x | test/vp9_spatial_svc_encoder.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/vp9_spatial_svc_encoder.sh b/test/vp9_spatial_svc_encoder.sh index 8c9d13072..a5728f677 100755 --- a/test/vp9_spatial_svc_encoder.sh +++ b/test/vp9_spatial_svc_encoder.sh @@ -39,10 +39,9 @@ vp9_spatial_svc_encoder() { return 1 fi - eval "${encoder}" -w "${YUV_RAW_INPUT_WIDTH}" -h "${YUV_RAW_INPUT_HEIGHT}" \ - -k "${max_kf}" -f "${frames_to_encode}" "$@" "${YUV_RAW_INPUT}" \ - "${output_file}" \ - ${devnull} + eval "${VPX_TEST_PREFIX}" "${encoder}" -w "${YUV_RAW_INPUT_WIDTH}" \ + -h "${YUV_RAW_INPUT_HEIGHT}" -k "${max_kf}" -f "${frames_to_encode}" \ + "$@" "${YUV_RAW_INPUT}" "${output_file}" ${devnull} [ -e "${output_file}" ] || return 1 } |