check: Do not fail if partial test prerequisites fail.
* build-aux/check-tcc.sh: Pass if no test directory found. * build-aux/check.sh.in (TINYCC_PREFIX): Rename from TCC_PREFIX. Pass if partial tests prerequisites fail.
This commit is contained in:
parent
56cd6d58ca
commit
06b3451caf
|
@ -141,6 +141,9 @@ MES_LIBS="-l c+gnu"
|
||||||
expect=$(echo $broken | wc -w)
|
expect=$(echo $broken | wc -w)
|
||||||
ARGS="arg1 arg2 arg3 arg4 arg5"
|
ARGS="arg1 arg2 arg3 arg4 arg5"
|
||||||
export ARGS
|
export ARGS
|
||||||
|
pass=0
|
||||||
|
fail=0
|
||||||
|
total=0
|
||||||
mkdir -p scaffold/tinycc
|
mkdir -p scaffold/tinycc
|
||||||
for t in $tests; do
|
for t in $tests; do
|
||||||
if [ ! -f $TINYCC_PREFIX/"$t.c" ]; then
|
if [ ! -f $TINYCC_PREFIX/"$t.c" ]; then
|
||||||
|
|
|
@ -40,8 +40,14 @@ fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
[ "$GUILE" != true ] && MES=guile bash ${srcdest}build-aux/check-mes.sh
|
if [ "$GUILE" != true ]; then
|
||||||
[ "$MES" != guile ] && bash ${srcdest}build-aux/check-mes.sh
|
MES=guile bash ${srcdest}build-aux/check-mes.sh
|
||||||
|
fi
|
||||||
|
if [ "$MES" != guile ]; then
|
||||||
|
bash ${srcdest}build-aux/check-mes.sh
|
||||||
|
fi
|
||||||
bash ${srcdest}build-aux/check-boot.sh
|
bash ${srcdest}build-aux/check-boot.sh
|
||||||
bash ${srcdest}build-aux/check-mescc.sh
|
bash ${srcdest}build-aux/check-mescc.sh
|
||||||
[ -d $TINYCC_PREFIX/tests/tests2 ] && bash ${srcdest}build-aux/check-tcc.sh
|
if [ -d $TINYCC_PREFIX/tests/tests2 ] ;then
|
||||||
|
bash ${srcdest}build-aux/check-tcc.sh
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue