Provide ability to wrap test server command for willies...

This commit is contained in:
Aikar 2016-04-09 21:46:09 -04:00
parent 04064bc956
commit 38b8a26236
1 changed files with 5 additions and 1 deletions

View File

@ -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