OILS / core / TEST.sh View on Github | oilshell.org

21 lines, 11 significant
1#!/usr/bin/env bash
2#
3# Usage:
4# core/TEST.sh <function name>
5
6set -o nounset
7set -o pipefail
8set -o errexit
9
10REPO_ROOT=$(cd "$(dirname $0)/.."; pwd)
11
12source test/common.sh
13
14unit() {
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"$@"