aboutsummaryrefslogtreecommitdiff
path: root/project/Build.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-07-20 16:10:35 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-07-20 17:30:50 +0200
commit8d266198c5ef3fd82511a6c6882d94bf5d7e50e4 (patch)
tree20250b27e713550a7d367c812a889110615a42d4 /project/Build.scala
parentfa3265e37a1e480861cc09102ec0dc94dd4a7557 (diff)
downloaddotty-8d266198c5ef3fd82511a6c6882d94bf5d7e50e4.tar.gz
dotty-8d266198c5ef3fd82511a6c6882d94bf5d7e50e4.tar.bz2
dotty-8d266198c5ef3fd82511a6c6882d94bf5d7e50e4.zip
Enable -Ycheck:all in Jenkins.
Done by setting an environment variable and checking it in runtime. This enables Ycheck:all for all kinds of tests, including partest.
Diffstat (limited to 'project/Build.scala')
-rw-r--r--project/Build.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 473ef2443..9c80fdc11 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -8,7 +8,7 @@ object DottyBuild extends Build {
val travisMemLimit = List("-Xmx1g", "-Xss2m")
- val TRAVIS_BUILD = "dotty.travis.build"
+ val JENKINS_BUILD = "dotty.jenkins.build"
val agentOptions = List(
// "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
@@ -104,8 +104,8 @@ object DottyBuild extends Build {
// System.err.println("BOOTPATH: " + fullpath)
val travis_build = // propagate if this is a travis build
- if (sys.props.isDefinedAt(TRAVIS_BUILD))
- List(s"-D$TRAVIS_BUILD=${sys.props(TRAVIS_BUILD)}") ::: travisMemLimit
+ if (sys.props.isDefinedAt(JENKINS_BUILD))
+ List(s"-D$JENKINS_BUILD=${sys.props(JENKINS_BUILD)}") ::: travisMemLimit
else
List()
@@ -156,8 +156,8 @@ object DottyBuild extends Build {
// System.err.println("BOOTPATH: " + fullpath)
val travis_build = // propagate if this is a travis build
- if (sys.props.isDefinedAt(TRAVIS_BUILD))
- List(s"-D$TRAVIS_BUILD=${sys.props(TRAVIS_BUILD)}")
+ if (sys.props.isDefinedAt(JENKINS_BUILD))
+ List(s"-D$JENKINS_BUILD=${sys.props(JENKINS_BUILD)}")
else
List()
val res = agentOptions ::: travis_build ::: fullpath