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/postproc.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/postproc.sh')
-rwxr-xr-x | test/postproc.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/postproc.sh b/test/postproc.sh index c9c4e5813..939a3e762 100755 --- a/test/postproc.sh +++ b/test/postproc.sh @@ -37,7 +37,8 @@ postproc() { return 1 fi - eval "${decoder}" "${input_file}" "${output_file}" ${devnull} + eval "${VPX_TEST_PREFIX}" "${decoder}" "${input_file}" "${output_file}" \ + ${devnull} [ -e "${output_file}" ] || return 1 } |