summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Finegan <tomfinegan@google.com>2014-05-08 12:06:08 -0700
committerTom Finegan <tomfinegan@google.com>2014-05-08 12:06:08 -0700
commit7279d44a4e73c5577440c4ce60868bf211e94c5d (patch)
treea9f0425aa683bc6b86d98acf85f4a70717b7b67a /test
parentcc5eee12bf37b513120d23d1d472b103ae4c3a1c (diff)
downloadlibvpx-7279d44a4e73c5577440c4ce60868bf211e94c5d.tar
libvpx-7279d44a4e73c5577440c4ce60868bf211e94c5d.tar.gz
libvpx-7279d44a4e73c5577440c4ce60868bf211e94c5d.tar.bz2
libvpx-7279d44a4e73c5577440c4ce60868bf211e94c5d.zip
tools_common.sh: Fix vlog()
Abusing '[] && echo' resulted in the --verbose flag being required to actually run tests. Change-Id: I39edaa30a05272928f9f4a4bb8581f91d6fe824b
Diffstat (limited to 'test')
-rwxr-xr-xtest/tools_common.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tools_common.sh b/test/tools_common.sh
index 30f0faea9..9c10d48f0 100755
--- a/test/tools_common.sh
+++ b/test/tools_common.sh
@@ -18,7 +18,9 @@ set -e
devnull='> /dev/null 2>&1'
vlog() {
- [ "${VPX_TEST_VERBOSE_OUTPUT}" = "yes" ] && echo "$@"
+ if [ "${VPX_TEST_VERBOSE_OUTPUT}" = "yes" ]; then
+ echo "$@"
+ fi
}
# Sets $VPX_TOOL_TEST to the name specified by positional parameter one.