1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/bin/sh
# autopkgtest check based on upstream check ($ make -C test)
# written for Debian by Jerome Benoit <calculus@rezozer.net> on behalf of the Debian Tex Maintainers team
# copyright: 2015-2016 Jerome Benoit <calculus@rezozer.net>
# distributed under the terms and conditions of GPL version 2 or later
set -ue
cp -prd test $ADTTMP
cat << EOF > $ADTTMP/test/GNUmakefile
#!/usr/bin/make -f
PERL = /usr/bin/perl
BIBTOOLPROG = /usr/bin/bibtool
default:
check:
BIBTOOL_PRG=\$(BIBTOOLPROG) \$(PERL) -Ilib -MBUnit -e "exit all()" || ( find . -name '*.err*' -o -name '*.out*' -printf "\n%f" | sort | xargs tail -n +1 ; exit 1 ; )
clean:
rm -f *.out* *.err*
EOF
make -C $ADTTMP/test check
exit 0
|