gambas3-selftest script run.sh with 'fast' option

[DEVELOPMENT ENVIRONMENT]
*OPT: gambas3-selftest script run.sh with 'fast' option
This commit is contained in:
Christof Thalhofer 2021-06-13 23:02:41 +02:00
parent 419b92a1d5
commit 453f61ed7e

View file

@ -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