From 54d7473f913dbde0d09a5d97358c37b2689a4bd3 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Fri, 20 Jan 2017 16:29:02 +0300 Subject: [PATCH] test: run different tests under different options (in a wrapper) --- test/test.sh | 50 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) diff --git a/test/test.sh b/test/test.sh index b73c1adc..dd3d9867 100755 --- a/test/test.sh +++ b/test/test.sh @@ -28,7 +28,7 @@ fi TEST_DIR=. TEST_SRC_DIR=. -T=`echo "$0" | sed -e 's/test.sh$//' | sed -e 's/test-script.sh//' ` +T=`echo "$0" | sed -e 's/test.sh$//'` if test -x "$T/test-init" then TEST_DIR="$T" @@ -146,15 +146,43 @@ do_test() { run_tests } -announce "Running tests:" +usage() +{ + cat <