aboutsummaryrefslogtreecommitdiff
path: root/project/Build.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-04-12 16:42:54 +0200
committerGitHub <noreply@github.com>2017-04-12 16:42:54 +0200
commit3a9deec8e7a3a093e9b56461650857c4cb7a9d8c (patch)
tree9e9952dbc058cc74cc0dbae2ea4d3741cfa3d132 /project/Build.scala
parentd541452940007bbc094e8a7f6785b6f8e9e7da22 (diff)
parentde5f55dc4ee1bbaa735ab96f1fe810a99c31d081 (diff)
downloaddotty-3a9deec8e7a3a093e9b56461650857c4cb7a9d8c.tar.gz
dotty-3a9deec8e7a3a093e9b56461650857c4cb7a9d8c.tar.bz2
dotty-3a9deec8e7a3a093e9b56461650857c4cb7a9d8c.zip
Merge pull request #2238 from dotty-staging/ci-fixes
Ci fixes
Diffstat (limited to 'project/Build.scala')
-rw-r--r--project/Build.scala9
1 files changed, 6 insertions, 3 deletions
diff --git a/project/Build.scala b/project/Build.scala
index 04e75de4c..8b1c0e31e 100644
--- a/project/Build.scala
+++ b/project/Build.scala
@@ -135,7 +135,6 @@ object Build {
triggeredMessage in ThisBuild := Watched.clearWhenTriggered,
addCommandAlias("run", "dotty-compiler/run") ++
- addCommandAlias("test", "testOnly -- --exclude-categories=java.lang.Exception") ++
addCommandAlias("legacyTests", "dotty-compiler/testOnly dotc.tests")
).
settings(publishing)
@@ -144,8 +143,7 @@ object Build {
lazy val `dotty-bootstrapped` = project.
aggregate(`dotty-library-bootstrapped`, `dotty-compiler-bootstrapped`).
settings(
- publishArtifact := false,
- addCommandAlias("test", "testOnly -- --exclude-categories=java.lang.Exception")
+ publishArtifact := false
)
lazy val `dotty-interfaces` = project.in(file("interfaces")).
@@ -286,6 +284,11 @@ object Build {
)
}.evaluated,
+ test in Test := {
+ // Exclude legacy tests by default
+ (testOnly in Test).toTask(" -- --exclude-categories=java.lang.Exception").value
+ },
+
vulpix := Def.inputTaskDyn {
val args: Seq[String] = spaceDelimited("<arg>").parsed
val cmd = " dotty.tools.dotc.CompilationTests" + {