ant-bridge dist -> verify, test.compile -> test-compile

Added a utility script for running a single test, usually in parallel.
This commit is contained in:
Khalid Shakir 2014-02-01 05:02:08 +08:00 committed by David Roazen
parent 9ca3004fc3
commit 20b471ef7b
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
mvn_args="test-compile"
mvn_args="verify"
mvn_properties=
mvn_clean=
unknown_args=
@ -39,11 +39,14 @@ for arg in "${@}" ; do
fi
else
if [ "${arg}" != "dist" -a "${mvn_args}" != "test-compile" ]; then
if [ "${arg}" != "dist" -a "${mvn_args}" != "" ]; then
echo "Sorry, this script does not currently support mixing targets." >&2
exit 1
elif [ "${arg}" = "dist" ] ; then
mvn_args="verify"
elif [ "${arg}" = "test.compile" ] ; then
mvn_args="test-compile"
elif [ "${arg}" = "gatkdocs" ] ; then