3 source maint/travis-ci_scripts/common.bash
4 if [[ -n "$SHORT_CIRCUIT_SMOKE" ]] ; then return ; fi
7 local -x HARNESS_TIMER=1
8 local -x HARNESS_OPTIONS=c:j$NUMTHREADS
9 make test 2> >(tee "$TEST_STDERR_LOG")
13 if [[ "$CLEANTEST" = "true" ]] ; then
14 echo_err "$(tstamp) Running tests with plain \`make test\`"
15 run_or_err "Prepare blib" "make pure_all"
18 PROVECMD="prove --timer -lrswj$NUMTHREADS t xt"
19 echo_err "$(tstamp) running tests with \`$PROVECMD\`"
20 $PROVECMD 2> >(tee "$TEST_STDERR_LOG")
24 if [[ -z "$DBICTRACE" ]] && [[ -z "$POISON_ENV" ]] && [[ -s "$TEST_STDERR_LOG" ]] ; then
25 STDERR_LOG_SIZE=$(wc -l < "$TEST_STDERR_LOG")
28 echo "Test run produced $STDERR_LOG_SIZE lines of output on STDERR:"
29 echo "============================================================="
30 cat "$TEST_STDERR_LOG"
31 echo "============================================================="
32 echo "End of test run STDERR output ($STDERR_LOG_SIZE lines)"
36 echo "$(tstamp) Testing took a total of $(( $TEST_T1 - $TEST_T0 ))s"