Skip to content

Commit

Permalink
align partest script with ant
Browse files Browse the repository at this point in the history
don't silently pass -deprecation to scalac by default
  • Loading branch information
adriaanm committed Jan 16, 2013
1 parent ef332d2 commit 20d7a17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/partest
Expand Up @@ -83,7 +83,10 @@ fi
# last arg wins, so if JAVA_OPTS already contains -Xmx or -Xms the
# supplied argument will be used.
JAVA_OPTS="-Xmx1024M -Xms64M $JAVA_OPTS"
[ -n "$SCALAC_OPTS" ] || SCALAC_OPTS="-deprecation"
# the ant task doesn't supply any options by default,
# so don't to that here either -- note that you may want to pass -optimise
# to mimic what happens during nightlies
# [ -n "$SCALAC_OPTS" ] || SCALAC_OPTS="-deprecation"

partestDebugStr=""
if [ ! -z "${PARTEST_DEBUG}" ] ; then
Expand Down

0 comments on commit 20d7a17

Please sign in to comment.