Restore ability to handle underdefined root (t/prefetch/incomplete.t)
[dbsrgits/DBIx-Class.git] / maint / travis-ci_scripts / 40_script.bash
CommitLineData
b58ecb01 1#!/bin/bash
2
3source maint/travis-ci_scripts/common.bash
4if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
5
6export HARNESS_TIMER=1 HARNESS_OPTIONS=c:j$NUMTHREADS
7
8START_TIME=$SECONDS
9if [[ "$CLEANTEST" = "true" ]] ; then
10 echo_err "$(tstamp) Running tests with plain \`make test\`"
11 run_or_err "Prepare blib" "make pure_all"
12 make test
13else
14 PROVECMD="prove -lrswj$NUMTHREADS t xt"
15 echo_err "$(tstamp) running tests with \`$PROVECMD\`"
16 $PROVECMD
17fi
18
19echo "$(tstamp) Testing took a total of $(( $SECONDS - $START_TIME ))s"