OLD | NEW |
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 ## |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 fi | 254 fi |
255 | 255 |
256 # User requested test listing: Dump test names and return. | 256 # User requested test listing: Dump test names and return. |
257 if [ "${VPX_TEST_LIST_TESTS}" = "yes" ]; then | 257 if [ "${VPX_TEST_LIST_TESTS}" = "yes" ]; then |
258 for test_name in $tests_to_filter; do | 258 for test_name in $tests_to_filter; do |
259 echo ${test_name} | 259 echo ${test_name} |
260 done | 260 done |
261 return | 261 return |
262 fi | 262 fi |
263 | 263 |
| 264 # Don't bother with the environment tests if everything else was disabled. |
| 265 [ -z "${tests_to_filter}" ] && return |
| 266 |
264 # Combine environment and actual tests. | 267 # Combine environment and actual tests. |
265 local tests_to_run="${env_tests} ${tests_to_filter}" | 268 local tests_to_run="${env_tests} ${tests_to_filter}" |
266 | 269 |
267 check_git_hashes | 270 check_git_hashes |
268 | 271 |
269 # Run tests. | 272 # Run tests. |
270 for test in ${tests_to_run}; do | 273 for test in ${tests_to_run}; do |
271 test_begin "${test}" | 274 test_begin "${test}" |
272 vlog " RUN ${test}" | 275 vlog " RUN ${test}" |
273 "${test}" | 276 "${test}" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 VPX_TEST_RAND=${VPX_TEST_RAND} | 423 VPX_TEST_RAND=${VPX_TEST_RAND} |
421 VPX_TEST_RUN_DISABLED_TESTS=${VPX_TEST_RUN_DISABLED_TESTS} | 424 VPX_TEST_RUN_DISABLED_TESTS=${VPX_TEST_RUN_DISABLED_TESTS} |
422 VPX_TEST_SHOW_PROGRAM_OUTPUT=${VPX_TEST_SHOW_PROGRAM_OUTPUT} | 425 VPX_TEST_SHOW_PROGRAM_OUTPUT=${VPX_TEST_SHOW_PROGRAM_OUTPUT} |
423 VPX_TEST_TEMP_ROOT=${VPX_TEST_TEMP_ROOT} | 426 VPX_TEST_TEMP_ROOT=${VPX_TEST_TEMP_ROOT} |
424 VPX_TEST_VERBOSE_OUTPUT=${VPX_TEST_VERBOSE_OUTPUT} | 427 VPX_TEST_VERBOSE_OUTPUT=${VPX_TEST_VERBOSE_OUTPUT} |
425 YUV_RAW_INPUT=${YUV_RAW_INPUT} | 428 YUV_RAW_INPUT=${YUV_RAW_INPUT} |
426 YUV_RAW_INPUT_WIDTH=${YUV_RAW_INPUT_WIDTH} | 429 YUV_RAW_INPUT_WIDTH=${YUV_RAW_INPUT_WIDTH} |
427 YUV_RAW_INPUT_HEIGHT=${YUV_RAW_INPUT_HEIGHT}" | 430 YUV_RAW_INPUT_HEIGHT=${YUV_RAW_INPUT_HEIGHT}" |
428 | 431 |
429 fi # End $VPX_TEST_TOOLS_COMMON_SH pseudo include guard. | 432 fi # End $VPX_TEST_TOOLS_COMMON_SH pseudo include guard. |
OLD | NEW |