aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorAikar <[email protected]>2016-04-09 21:46:09 -0400
committerAikar <[email protected]>2016-04-09 21:46:09 -0400
commit38b8a2623697187035b30aed4287ce8a960fe4c0 (patch)
tree57f9c0add61dde10e189e5606f0f3c0e868ade63 /scripts
parent04064bc95635269b7417d71027a8ba82eb4b25d7 (diff)
downloadPaper-38b8a2623697187035b30aed4287ce8a960fe4c0.tar.gz
Paper-38b8a2623697187035b30aed4287ce8a960fe4c0.zip
Provide ability to wrap test server command for willies...
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/testServer.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/testServer.sh b/scripts/testServer.sh
index 27d0802149..e1c79f31ef 100755
--- a/scripts/testServer.sh
+++ b/scripts/testServer.sh
@@ -106,4 +106,8 @@ fi
# START / LOG
#
-$cmd 2>&1 | tee -a ${PAPER_TEST_OUTPUT_LOG:-logs/output.log}
+if [ ! -z "$PAPER_TEST_COMMAND_WRAPPER" ]; then
+ $PAPER_TEST_COMMAND_WRAPPER $cmd
+else
+ $cmd 2>&1 | tee -a ${PAPER_TEST_OUTPUT_LOG:-logs/output.log}
+fi