Commit Graph

8 Commits

Author SHA1 Message Date
Tom Finegan
7279d44a4e tools_common.sh: Fix vlog()
Abusing '[] && echo' resulted in the --verbose flag being required to
actually run tests.

Change-Id: I39edaa30a05272928f9f4a4bb8581f91d6fe824b
2014-05-08 12:06:08 -07:00
Tom Finegan
1d29ce53fe Add --show-program-output option to shell tests.
When used --show-program-output shows the output from the programs run
during testing.

Change-Id: I15a47c43d1fcf0243c8df1a75d0d2a584ae1f08f
2014-04-30 16:17:25 -07:00
Tom Finegan
c5d962d5bb tools_common.sh: Add vlog()
Add a verbose logging function instead of checking
$VPX_TEST_VERBOSE_OUTPUT in multiple places.

Change-Id: I82618809f0964f696ed17ca4d99d8d7d252232f4
2014-04-30 11:16:15 -07:00
Tom Finegan
4e7e1f1ad1 tools_common.sh: Add a pseudo include guard.
Change-Id: Iac931dee8fa428a2182d20e48ee515d7c77885c0
2014-04-28 17:16:05 -07:00
Tom Finegan
7da552c283 Move shared test variables to tools_common.sh.
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-23 17:18:56 -07:00
Tom Finegan
522f7c8b50 tools_common.sh: Add run messages.
Echo "Run test_name" before running each test in verbose mode.

Change-Id: Idb2a736b3af13b9bbf2fbc137f2fa7da3662a2c6
2014-04-22 22:54:20 -07:00
Tom Finegan
39c5a4b8be tools_common.sh: Set VPX_TEST_EXE_SUFFIX for windows targets.
Change-Id: Ic3c792bcb76917c4d4b829d0377a9c36e06dd77d
2014-04-22 19:36:40 -07:00
Tom Finegan
36c39d67b1 Add shell scripts for verifying basic vpx{dec,enc} features.
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
2014-04-03 13:16:58 -07:00