Changeset View
Changeset View
Standalone View
Standalone View
contrib/bc/tests/all.sh
| Show All 33 Lines | |||||
| # Just print the usage and exit with an error. This can receive a message to | # Just print the usage and exit with an error. This can receive a message to | ||||
| # print. | # print. | ||||
| # @param 1 A message to print. | # @param 1 A message to print. | ||||
| usage() { | usage() { | ||||
| if [ $# -eq 1 ]; then | if [ $# -eq 1 ]; then | ||||
| printf '%s\n\n' "$1" | printf '%s\n\n' "$1" | ||||
| fi | fi | ||||
| print 'usage: %s [-n] dir [run_extra_tests] [run_stack_tests] [gen_tests] [run_problematic_tests] [exec args...]\n' \ | printf 'usage: %s [-n] dir [run_extra_tests] [run_stack_tests] [gen_tests] [run_problematic_tests] [exec args...]\n' \ | ||||
| "$script" | "$script" | ||||
| exit 1 | exit 1 | ||||
| } | } | ||||
| # We need to figure out if we should run stuff in parallel. | # We need to figure out if we should run stuff in parallel. | ||||
| pll=1 | pll=1 | ||||
| while getopts "n" opt; do | while getopts "n" opt; do | ||||
| ▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines | |||||