1 | #!/usr/bin/env bash |
2 | # |
3 | # Usage: |
4 | # core/TEST.sh <function name> |
5 | |
6 | set -o nounset |
7 | set -o pipefail |
8 | set -o errexit |
9 | |
10 | REPO_ROOT=$(cd "$(dirname $0)/.."; pwd) |
11 | |
12 | source test/common.sh |
13 | |
14 | unit() { |
15 | for variant in asan ubsan; do |
16 | run-one-test 'core/optview_test' '' $variant |
17 | run-one-test 'core/runtime_asdl_test' '' $variant |
18 | done |
19 | } |
20 | |
21 | "$@" |