diff options
author | Aikar <[email protected]> | 2016-04-09 21:46:09 -0400 |
---|---|---|
committer | Aikar <[email protected]> | 2016-04-09 21:46:09 -0400 |
commit | 38b8a2623697187035b30aed4287ce8a960fe4c0 (patch) | |
tree | 57f9c0add61dde10e189e5606f0f3c0e868ade63 /scripts | |
parent | 04064bc95635269b7417d71027a8ba82eb4b25d7 (diff) | |
download | Paper-38b8a2623697187035b30aed4287ce8a960fe4c0.tar.gz Paper-38b8a2623697187035b30aed4287ce8a960fe4c0.zip |
Provide ability to wrap test server command for willies...
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/testServer.sh | 6 |
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 |