Debian Codegraph @

travisci/harness.sh

raw
1 #!/bin/bash
2
3 ENSDIR="${ENSDIR:-$PWD}"
4
5 export PERL5LIB=$ENSDIR/ensembl-test/modules:$PWD/lib:$PWD/blib/arch/auto/Bio/DB/HTS/:$PWD/blib/arch/auto/Bio/DB/HTS/Faidx
6
7 export TEST_AUTHOR=$USER
8
9 echo "Running test suite"
10 echo "Using PERL5LIB:$PERL5LIB"
11 echo "Current Directory list"
12 pwd
13 ls
14
15 echo "Test list"
16 ls -l t
17
18 echo "COVERALLS value=$COVERALLS"
19 echo "HTSLIB_VERSION value=$HTSLIB_VERSION"
20
21 perl $ENSDIR/ensembl-test/scripts/runtests.pl t $SKIP_TESTS
22
23 rt=$?
24 if [ $rt -eq 0 ]; then
25 if [ "$COVERALLS" = 'true' ]; then
26 echo "Running Devel::Cover coveralls report"
27 cover --nosummary -report coveralls
28 fi
29 exit $?
30 else
31 exit $rt
32 fi