awips2/tests/runTests.sh
Mike Duff 0973d5018c Issue #2254 - Send an email to omaha_awips on unit test failures or errors
Former-commit-id: 8e0e4e93a094c60c18b28a5ebc49a8f175e6f373
2013-08-14 14:20:52 -05:00

16 lines
346 B
Bash

#!/bin/sh
if [ "${INITIAL_PERMGEN_SIZE}" = "" ]
then
export INITIAL_PERMGEN_SIZE="64m"
fi
if [ "${MAX_PERMGEN_SIZE}" = "" ]
then
export MAX_PERMGEN_SIZE="192m"
fi
export ANT_OPTS="-XX:PermSize=${INITIAL_PERMGEN_SIZE} -XX:MaxPermSize=${MAX_PERMGEN_SIZE} $*"
ant
sudo rsync -rugl tmp/test-reports/html/* root@awipscm:/var/www/html/junit