diff options
author | Didier Raboud <odyx@debian.org> | 2018-09-25 08:33:05 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2018-09-25 08:33:05 +0200 |
commit | e50542121e724e851fc5d6c68bb773f80c0bc12c (patch) | |
tree | 655c3f6331a6e8fd8b09ceb4da8f5896484ae16a /test/run-weavetest | |
parent | 9dd97a029bf391c42b1dc76f2f7c5e386bb8f466 (diff) |
New upstream version 5.3.1
Diffstat (limited to 'test/run-weavetest')
-rwxr-xr-x | test/run-weavetest | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/test/run-weavetest b/test/run-weavetest index d551ac2..10c1d32 100755 --- a/test/run-weavetest +++ b/test/run-weavetest @@ -1,4 +1,17 @@ -#!/bin/sh +#!/bin/bash + +# Don't want to run this at all as part of automated test +[ -n "$STP_TEST_SUITE" ] && exit 77 + +if [[ -n "$STP_TEST_LOG_PREFIX" ]] ; then + redir="${STP_TEST_LOG_PREFIX}${0##*/}_$$.log" + if [[ -n $BUILD_VERBOSE ]] ; then + exec > >(tee -a "$redir" >&3) + else + exec 1>>"$redir" + fi + exec 2>&1 +fi if [ -z "$srcdir" -o "$srcdir" = "." ] ; then sdir=`pwd` |