make check: Do not re-check unless recheck=true.
* build-aux/check-mescc.sh (recheck): New variable. * build-aux/check.sh.in (recheck): New variable. * build-aux/test-suite.sh (TEST_LOGS): Use it.
This commit is contained in:
parent
78b3c85f15
commit
502a203742
|
@ -266,6 +266,7 @@ lib/tests/string/90-snprintf.c
|
|||
fi
|
||||
fi
|
||||
|
||||
recheck=${recheck-false}
|
||||
test_ext=.c
|
||||
log_compiler=${srcdest}build-aux/test-c.sh
|
||||
. ${srcdest}build-aux/test-suite.sh
|
||||
|
|
|
@ -57,6 +57,9 @@ export CPPFLAGS
|
|||
export LDFLAGS
|
||||
#export LIBS
|
||||
|
||||
recheck=${recheck-false}
|
||||
export recheck
|
||||
|
||||
./pre-inst-env sh ${srcdest}build-aux/check-boot.sh
|
||||
./pre-inst-env sh ${srcdest}build-aux/check-mes.sh
|
||||
|
||||
|
|
|
@ -29,6 +29,13 @@ subdir=$(basename $(pwd))
|
|||
TEST_LOGS=
|
||||
for t in $TESTS; do
|
||||
b=$(dirname $t)/$(basename $t $test_ext)
|
||||
TEST_LOGS="$TEST_LOGS $b.log"
|
||||
if test -e $b.log \
|
||||
&& test -e $b.trs\
|
||||
&& ! $recheck; then
|
||||
echo `grep :test-result $b.trs | cut -d' ' -f 2`: $b
|
||||
continue
|
||||
fi
|
||||
d=$(dirname $t)
|
||||
case " `echo $XFAIL_TESTS` " in
|
||||
*[\ \ ]$t[\ \ ]*)
|
||||
|
@ -46,7 +53,6 @@ for t in $TESTS; do
|
|||
--expect-failure $fail\
|
||||
-- $log_compiler\
|
||||
${srcdest}$t
|
||||
TEST_LOGS="$TEST_LOGS $b.log"
|
||||
done
|
||||
|
||||
if test $colors = yes; then
|
||||
|
|
Loading…
Reference in a new issue