From 453f61ed7e09676f9926e2e56f5520a6a4220727 Mon Sep 17 00:00:00 2001 From: Christof Thalhofer Date: Sun, 13 Jun 2021 23:02:41 +0200 Subject: [PATCH] gambas3-selftest script run.sh with 'fast' option [DEVELOPMENT ENVIRONMENT] *OPT: gambas3-selftest script run.sh with 'fast' option --- app/src/gambas3-selftest/run.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/src/gambas3-selftest/run.sh b/app/src/gambas3-selftest/run.sh index 5aa5633df..9ba102cb4 100755 --- a/app/src/gambas3-selftest/run.sh +++ b/app/src/gambas3-selftest/run.sh @@ -1,9 +1,16 @@ #! /bin/sh +TESTSUITE="@Production" + +if [ $1 = 'fast' ] +then + TESTSUITE="@Fast" +fi + MYDIR=$(cd `dirname $0` && pwd) # run Production without JIT -gbx3 -j -T "@Production" $MYDIR +gbx3 -j -T "$TESTSUITE" $MYDIR if [ $? -ne 0 ] then @@ -12,7 +19,7 @@ then fi # run Production with JIT -GB_NO_JIT=01 GB_JIT_CFLAGS=-O0 gbx3 -T "@Production" $MYDIR +GB_NO_JIT=01 GB_JIT_CFLAGS=-O0 gbx3 -T "$TESTSUITE" $MYDIR if [ $? -ne 0 ] then