Commit 7279d44a authored by Tom Finegan's avatar Tom Finegan

tools_common.sh: Fix vlog()

Abusing '[] && echo' resulted in the --verbose flag being required to
actually run tests.

Change-Id: I39edaa30a05272928f9f4a4bb8581f91d6fe824b
parent cc5eee12
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment