Tweak nightly build race-enabled builds

[ci skip]
pull/4364/head
Philip O'Toole 2015-10-07 22:16:17 -07:00
parent abb6092bfe
commit 64cef0fa63
1 changed files with 3 additions and 2 deletions

View File

@ -21,8 +21,8 @@ function send_failure_notification {
--body "The nightly build has failed, version: $version" --body "The nightly build has failed, version: $version"
} }
if [ $# -ne 4 ]; then if [ $# -lt 4 ]; then
echo "$0 <smtp server> <user> <password> <to>" echo "$0 <smtp server> <user> <password> <to> [RACE_ENABLED]"
exit 1 exit 1
fi fi
SMTP=$1 SMTP=$1
@ -33,6 +33,7 @@ RACE_ENABLED=$5
if [ -n "$RACE_ENABLED" ]; then if [ -n "$RACE_ENABLED" ]; then
race="-x" race="-x"
echo "Race-detection build enabled."
fi fi
REPO_DIR=`mktemp -d` REPO_DIR=`mktemp -d`