Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: source/libvpx/test/tools_common.sh

Issue 290653003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 ## 2 ##
3 ## Copyright (c) 2014 The WebM project authors. All Rights Reserved. 3 ## Copyright (c) 2014 The WebM project authors. All Rights Reserved.
4 ## 4 ##
5 ## Use of this source code is governed by a BSD-style license 5 ## Use of this source code is governed by a BSD-style license
6 ## that can be found in the LICENSE file in the root of the source 6 ## that can be found in the LICENSE file in the root of the source
7 ## tree. An additional intellectual property rights grant can be found 7 ## tree. An additional intellectual property rights grant can be found
8 ## in the file PATENTS. All contributing project authors may 8 ## in the file PATENTS. All contributing project authors may
9 ## be found in the AUTHORS file in the root of the source tree. 9 ## be found in the AUTHORS file in the root of the source tree.
10 ## 10 ##
11 ## This file contains shell code shared by test scripts for libvpx tools. 11 ## This file contains shell code shared by test scripts for libvpx tools.
12 12
13 # Use $VPX_TEST_TOOLS_COMMON_SH as a pseudo include guard. 13 # Use $VPX_TEST_TOOLS_COMMON_SH as a pseudo include guard.
14 if [ -z "${VPX_TEST_TOOLS_COMMON_SH}" ]; then 14 if [ -z "${VPX_TEST_TOOLS_COMMON_SH}" ]; then
15 VPX_TEST_TOOLS_COMMON_SH=included 15 VPX_TEST_TOOLS_COMMON_SH=included
16 16
17 set -e 17 set -e
18 devnull='> /dev/null 2>&1' 18 devnull='> /dev/null 2>&1'
19 19
20 vlog() { 20 vlog() {
21 [ "${VPX_TEST_VERBOSE_OUTPUT}" = "yes" ] && echo "$@" 21 if [ "${VPX_TEST_VERBOSE_OUTPUT}" = "yes" ]; then
22 echo "$@"
23 fi
22 } 24 }
23 25
24 # Sets $VPX_TOOL_TEST to the name specified by positional parameter one. 26 # Sets $VPX_TOOL_TEST to the name specified by positional parameter one.
25 test_begin() { 27 test_begin() {
26 VPX_TOOL_TEST="${1}" 28 VPX_TOOL_TEST="${1}"
27 } 29 }
28 30
29 # Clears the VPX_TOOL_TEST variable after confirming that $VPX_TOOL_TEST matches 31 # Clears the VPX_TOOL_TEST variable after confirming that $VPX_TOOL_TEST matches
30 # positional parameter one. 32 # positional parameter one.
31 test_end() { 33 test_end() {
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 LIBVPX_BIN_PATH=${LIBVPX_BIN_PATH} 451 LIBVPX_BIN_PATH=${LIBVPX_BIN_PATH}
450 LIBVPX_CONFIG_PATH=${LIBVPX_CONFIG_PATH} 452 LIBVPX_CONFIG_PATH=${LIBVPX_CONFIG_PATH}
451 LIBVPX_TEST_DATA_PATH=${LIBVPX_TEST_DATA_PATH} 453 LIBVPX_TEST_DATA_PATH=${LIBVPX_TEST_DATA_PATH}
452 VPX_TEST_OUTPUT_DIR=${VPX_TEST_OUTPUT_DIR} 454 VPX_TEST_OUTPUT_DIR=${VPX_TEST_OUTPUT_DIR}
453 VPX_TEST_VERBOSE_OUTPUT=${VPX_TEST_VERBOSE_OUTPUT} 455 VPX_TEST_VERBOSE_OUTPUT=${VPX_TEST_VERBOSE_OUTPUT}
454 VPX_TEST_FILTER=${VPX_TEST_FILTER} 456 VPX_TEST_FILTER=${VPX_TEST_FILTER}
455 VPX_TEST_RUN_DISABLED_TESTS=${VPX_TEST_RUN_DISABLED_TESTS} 457 VPX_TEST_RUN_DISABLED_TESTS=${VPX_TEST_RUN_DISABLED_TESTS}
456 VPX_TEST_SHOW_PROGRAM_OUTPUT=${VPX_TEST_SHOW_PROGRAM_OUTPUT}" 458 VPX_TEST_SHOW_PROGRAM_OUTPUT=${VPX_TEST_SHOW_PROGRAM_OUTPUT}"
457 459
458 fi # End $VPX_TEST_TOOLS_COMMON_SH pseudo include guard. 460 fi # End $VPX_TEST_TOOLS_COMMON_SH pseudo include guard.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698