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

23 lines, 8 significant
1#!/usr/bin/env bash
2#
3# Run tests in this directory.
4#
5# Usage:
6# stdlib/TEST.sh <function name>
7
8set -o nounset
9set -o pipefail
10set -o errexit
11
12soil-run() {
13 SH=bin/ysh
14 test/byo-client.sh run-tests $SH stdlib/stream.ysh
15
16 test/byo-client.sh run-tests $SH stdlib/table.ysh
17
18 # I guess this needs tests, with an assertion library for stdout?
19
20 # test/byo-client.sh run-tests $SH stdlib/two.sh
21}
22
23"$@"