1 | #!/usr/bin/env bash |
2 | # |
3 | # Usage: |
4 | # test/other.sh <function name> |
5 | |
6 | set -o nounset |
7 | set -o pipefail |
8 | set -o errexit |
9 | |
10 | # Fails because of NoSingletonAction? |
11 | find-test() { |
12 | pushd tools/find |
13 | ./find-test.sh |
14 | popd |
15 | } |
16 | |
17 | xargs-test() { |
18 | pushd tools/xargs |
19 | ./xargs-test.sh |
20 | popd |
21 | } |
22 | |
23 | csv2html-test() { |
24 | pushd web/table |
25 | ./csv2html-test.sh all |
26 | popd |
27 | } |
28 | |
29 | # Fails |
30 | pgen2-test() { |
31 | pgen2/pgen2-test.sh all |
32 | } |
33 | |
34 | "$@" |