summaryrefslogtreecommitdiff
path: root/test/decode_with_drops.sh
AgeCommit message (Collapse)Author
2020-04-28test/*.sh: add explicit error checks/returnsJames Zern
there was an assumption that function calls would terminate early with an error given 'set -e' was being used. this is true, but only when the function is part of a simple command otherwise it won't inherit the behavior. many of the call sites use 'func || return 1' syntax meaning the function would continue to completion return with the status of the last command executed. this hid errors with e.g., eval statements. inner calls within the functions are now explicitly tested for failure. BUG=aomedia:2669 Change-Id: Ie33a5ac4023dcc800bd302cb8cc54c6c3f2282f5
2014-07-10sh tests: Add support for running tested programs within another program.Tom Finegan
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
2014-06-16example tests: Make failures due to incorrect bin path easier to diagnose.Tom Finegan
Add elog() to tools_common, and checks for the executable in each test. Change-Id: I3c6334eca62c0b56040d91145abbe1bf5f9c763c
2014-04-30Add --show-program-output option to shell tests.Tom Finegan
When used --show-program-output shows the output from the programs run during testing. Change-Id: I15a47c43d1fcf0243c8df1a75d0d2a584ae1f08f
2014-04-28Add tests for the decode_with_drops example.Tom Finegan
Change-Id: I99e120f934613fb7cc0ef4b4bba0c8caaecf18d2