Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

align partest script with ant

don't silently pass -deprecation to scalac by default
  • Loading branch information...
commit 20d7a17ae843c9d0730b33e30ec878d2df63a3de 1 parent ef332d2
@adriaanm adriaanm authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 test/partest
View
5 test/partest
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.