From 29b0fa91d2c813622b61d19d0c8d85c0636eb3a9 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Sat, 22 Mar 2014 18:25:33 +0000 Subject: [PATCH] Better to use /bin/sh and not have such fancy syntax. Copied from Perforce Change: 184960 ServerID: perforce.ravenbrook.com --- mps/tool/testrun.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/mps/tool/testrun.sh b/mps/tool/testrun.sh index 5fdfa47bc05..9cecd1c6fd5 100755 --- a/mps/tool/testrun.sh +++ b/mps/tool/testrun.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh # # $Id$ # Copyright (c) 2013-2014 Ravenbrook Limited. See end of file for license. @@ -14,7 +14,7 @@ # # testrun.sh DIR [CASE1 CASE2 ...] -ALL_TEST_CASES=( +ALL_TEST_CASES=" abqtest amcss amcsshe @@ -48,12 +48,12 @@ ALL_TEST_CASES=( steptest walkt0 zmess - # bttest -- interactive, so cannot be run unattended - # djbench -- benchmark, not test case - # gcbench -- benchmark, not test case - # teletest -- interactive, so cannot be run unattended - # zcoll -- takes too long to be useful as a regularly run smoke test -) +" +# bttest -- interactive, so cannot be run unattended +# djbench -- benchmark, not test case +# gcbench -- benchmark, not test case +# teletest -- interactive, so cannot be run unattended +# zcoll -- takes too long to be useful as a regularly run smoke test # Make a temporary output directory for the test logs. LOGDIR=$(mktemp -d /tmp/mps.log.XXXXXX) @@ -62,7 +62,7 @@ echo "MPS test suite" echo "Logging test output to $LOGDIR" echo "Test directory: $TEST_DIR" shift -TEST_CASES=${*:-${ALL_TEST_CASES[*]}} +TEST_CASES=${*:-${ALL_TEST_CASES}} SEPARATOR="----------------------------------------" TEST_COUNT=0