Skip to content

Commit 22fe7f6

Browse files
authored
Merge abc0703 into 9a47eca
2 parents 9a47eca + abc0703 commit 22fe7f6

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

build.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ val `scala-compiler` = Build.`scala-compiler`
2626
val `scala-reflect` = Build.`scala-reflect`
2727
val scalap = Build.scalap
2828
val dist = Build.dist
29-
val `dist-bootstrapped` = Build.`dist-bootstrapped`
3029
val `community-build` = Build.`community-build`
3130

3231
val sjsSandbox = Build.sjsSandbox

docs/docs/contributing/testing.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ Running all tests in Dotty is as simple as:
99
$ sbt test
1010
```
1111

12+
Specifically, `sbt test` runs all tests that do _not_ require a bootstrapped
13+
compiler. In practice, this means that it runs all compilation tests meeting
14+
this criterion, as well as all non-compiler tests.
15+
16+
The entire suite of tests can be run using the bootstrapped compiler as follows:
17+
18+
```bash
19+
$ sbt
20+
> dotty-bootstrapped/test
21+
```
22+
1223
There are currently several forms of tests in Dotty. These can be split into
1324
two categories:
1425

project/Build.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,14 +1315,10 @@ object Build {
13151315
packArchiveName := "dotty-" + dottyVersion
13161316
)
13171317

1318-
lazy val dist = project.asDist(NonBootstrapped)
1318+
lazy val dist = project.asDist(Bootstrapped)
13191319
.settings(
13201320
packResourceDir += (baseDirectory.value / "bin" -> "bin"),
13211321
)
1322-
lazy val `dist-bootstrapped` = project.asDist(Bootstrapped)
1323-
.settings(
1324-
packResourceDir += ((baseDirectory in dist).value / "bin" -> "bin"),
1325-
)
13261322

13271323
implicit class ProjectDefinitions(val project: Project) extends AnyVal {
13281324

0 commit comments

Comments
 (0)