summaryrefslogtreecommitdiff
path: root/test/tools_common.sh
AgeCommit message (Collapse)Author
2019-01-30Add y4m input to vp9 example encoder tests.Jerome Jiang
Change-Id: Ie64a3ee22e6b21e5b3a0cef4734930db3144bea0
2018-07-11shell tests: Drop incorrect uses of readonly.Tom Finegan
Change-Id: I0a01e1a7c04bbc026a1db0ba90d516548a1eaaed
2018-07-09vpxdec,raw_read_frame: fix eof returnJames Zern
fixes an endless loop caused by successful read return on eof. since: 00a35aab7 vpx[dec|enc]: Extract IVF support from the apps. BUG=webm:1539 Change-Id: I64dbb94189ea6a745d53a4bacc033f5f58eafb37
2015-06-23vpxenc.sh: Add basic vp9 multithread encode test.Tom Finegan
- Change default real time speed to -6. - Add vpxenc_vp9_webm_rt_multithread, which encodes niklas_1280_720_30.y4m with 2 to 4 threads using 2 to 4 tile columns. Change-Id: I4d86c3360aec67ae5d1ba82eb6e0f0be8068b5af
2015-06-05vpxenc: Add support for pixel aspect ratio.Frank Galligan
WebM files will adjust the display width and height according to the input pixel aspect ratio. The default pixel aspect ratio is 1:1. BUG=https://code.google.com/p/webm/issues/detail?id=1005 Change-Id: I23e0a601b7259fa9513cb86110c41b8437769808
2015-04-07webmdec: Fix for reaching eof in webm_guess_framerateVignesh Venkatasubramanian
Reset the reached_eos flag in webm_guess_framerate in case it ends up consuming the entire file. Also adding a vpxdec shell test to verify this behavior. Change-Id: I371eebd2105231dc0f60e65da1f71b233ad14be5
2015-03-16Add frame parallel decode option to vpxdec.hkuang
Change-Id: I0ba02d501d65a2f219fa1bb87b8eb81f7e6ab332
2015-02-26tools_common.sh: use $$ in VPX_TEST_OUTPUT_DIRJames Zern
a bit simpler than invoking awk for rand() Change-Id: I36ac474708f7bf0157ae59b882c2a9f69b0aaf41
2015-02-26tools_common.sh: add directory name to error outputJames Zern
+ add a helper function to reduce the duplication this is a bit clearer when the environment variable is set, but the directory is missing Change-Id: I08f9b56122b5741bb40a5f795f7f82f5b49f1047
2014-12-17tests/examples.sh: skip env. check for filtered testsJames Zern
Change-Id: Ide670b00ae3ecd9e18f394905341bf793349f247
2014-09-19test/tools_common.sh: Add support for dumping list of tests.Tom Finegan
Via new command line argument --list-tests. Change-Id: I0f12d10b49c14f5f68aafd5bc45362b1ea4f361f
2014-08-15examples.sh: Run all example tests.Tom Finegan
- Remove vpxdec and vpxenc from the exclude list. - vpx{dec,enc}.sh: Updates to support finding their executable when LIBVPX_BIN_PATH is setup for the examples. - tools_common.sh: New library function, vpx_tool_path(). Provides support for finding the exectuables in vpx{dec,enc}.sh. Change-Id: I730f11cceb44646491a7a7ff58603a4a760129ef
2014-08-07vpxenc tests: Relocate vpxenc wrapper.Tom Finegan
Move vpxenc() from tools_common.sh to vpxenc.sh. Change-Id: If3bc1e8616f7e0334d39b560946e467482fe5cf4
2014-07-30tools_common.sh: Move vpxdec() test support to vpxdec.shTom Finegan
Change-Id: I7bb9b10fa8a949e9eaa1299b521f2b9785f36d50
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-06-13test/tools_common.sh: Log all shared variables in verbose mode.Tom Finegan
Several variables were not being logged. Change-Id: I2f2ded19470a73c4551bbb1abbd6e4d27bd59fac
2014-05-21tools_common: fix test_name quotingJames Zern
quoting within $() doesn't need to be escaped; removes trailing " in test_name Change-Id: I97ffad9fdfd97b3cdf4dec2a8547804875d85e66
2014-05-17tools_common.sh: Allow over ride of test name.Tom Finegan
Use VPX_TEST_NAME instead of the script name sans path and extension when reporting test results when the variable is not empty. Also: Clean up some style nits while I'm at it. Change-Id: I0319745a3b7a90d0f307e55c5108fea2204187cd
2014-05-08tools_common.sh: Fix vlog()Tom Finegan
Abusing '[] && echo' resulted in the --verbose flag being required to actually run tests. Change-Id: I39edaa30a05272928f9f4a4bb8581f91d6fe824b
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-30tools_common.sh: Add vlog()Tom Finegan
Add a verbose logging function instead of checking $VPX_TEST_VERBOSE_OUTPUT in multiple places. Change-Id: I82618809f0964f696ed17ca4d99d8d7d252232f4
2014-04-28tools_common.sh: Add a pseudo include guard.Tom Finegan
Change-Id: Iac931dee8fa428a2182d20e48ee515d7c77885c0
2014-04-23Move shared test variables to tools_common.sh.Tom Finegan
The global variables used in vpxdec.sh and vpxenc.sh have become useful elsewhere: Define them in tools_common.sh instead. Change-Id: I5b8dbd2e88c8d6b2f46c5c55d7711fa154c12b6a
2014-04-22tools_common.sh: Add run messages.Tom Finegan
Echo "Run test_name" before running each test in verbose mode. Change-Id: Idb2a736b3af13b9bbf2fbc137f2fa7da3662a2c6
2014-04-22tools_common.sh: Set VPX_TEST_EXE_SUFFIX for windows targets.Tom Finegan
Change-Id: Ic3c792bcb76917c4d4b829d0377a9c36e06dd77d
2014-04-03Add shell scripts for verifying basic vpx{dec,enc} features.Tom Finegan
Tests the basics (first confirms feature is available in vpx_config.h): - VP8 decode (in IVF file). - VP9 decode (in WebM file). - VP8 encode (to IVF and WebM). - VP9 encode (to IVF and WebM). - VP9 lossless encode (to IVF, currently disabled due to failure). - Pipe input (to vpxdec and vpxenc). Test data path and path to vpx{dec,enc} have been parameterized. In addition: - Supports disabling tests (test names prefixed with DISABLED_ are not run by default). - Supports filtering tests. vpxdec.sh: Tests vpxdec. vpxenc.sh: Tests vpxenc. tools_common.sh: Common test functions. Change-Id: I0612c88b8dd6049a05bbbc79a317a0cca61733a5