Bug 1797755 - Part 5: Use a single initial mark stack size regardless of whether...
[gecko.git] / third_party / aom / test / examples.sh
blob2cdb89dd08b4a4a1b6bdf4611976da3029de026f
1 #!/bin/sh
2 ## Copyright (c) 2016, Alliance for Open Media. All rights reserved
3 ##
4 ## This source code is subject to the terms of the BSD 2 Clause License and
5 ## the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 ## was not distributed with this source code in the LICENSE file, you can
7 ## obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 ## Media Patent License 1.0 was not distributed with this source code in the
9 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
11 ## This file runs all of the tests for the libaom examples.
13 . $(dirname $0)/tools_common.sh
15 example_tests=$(ls -r $(dirname $0)/*.sh)
17 # List of script names to exclude.
18 exclude_list="best_encode examples run_encodes tools_common"
20 # Filter out the scripts in $exclude_list.
21 for word in ${exclude_list}; do
22 example_tests=$(filter_strings "${example_tests}" "${word}" exclude)
23 done
25 for test in ${example_tests}; do
26 # Source each test script so that exporting variables can be avoided.
27 AOM_TEST_NAME="$(basename ${test%.*})"
28 . "${test}"
29 done