Skip to content

Commit adc370d

Browse files
committed
Use new sbt-based bootstrap for partest too
`partest` and `partest-only` are now run through `dotty-compiler-bootstrapped`. The old bootstrapping mechanism is deleted since it has been unmaintained and broken for several months and that I do not wish to maintain two bootstrapping mechanisms.
1 parent c3f20b6 commit adc370d

File tree

2 files changed

+8
-51
lines changed

2 files changed

+8
-51
lines changed

compiler/test/dotc/build.scala

Lines changed: 0 additions & 40 deletions
This file was deleted.

project/Build.scala

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,23 +119,20 @@ object DottyBuild extends Build {
119119
addCommandAlias("run", "dotty-compiler/run") ++
120120
addCommandAlias(
121121
"partest",
122-
";packageAll" +
123-
";dotty-compiler/test:runMain dotc.build" +
124-
";dotty-compiler/lockPartestFile" +
125-
";dotty-compiler/test:test" +
126-
";dotty-compiler/runPartestRunner"
122+
";publishLocal" + // Non-bootstrapped dotty needs to be published first
123+
";dotty-compiler-bootstrapped/lockPartestFile" +
124+
";dotty-compiler-bootstrapped/test:test" +
125+
";dotty-compiler-bootstrapped/runPartestRunner"
127126
) ++
128127
addCommandAlias(
129128
"partest-only",
130-
";packageAll" +
131-
";dotty-compiler/test:runMain dotc.build" +
132-
";dotty-compiler/lockPartestFile" +
133-
";dotty-compiler/test:test-only dotc.tests" +
134-
";dotty-compiler/runPartestRunner"
129+
";publishLocal" + // Non-bootstrapped dotty needs to be published first
130+
";dotty-compiler-bootstrapped/lockPartestFile" +
131+
";dotty-compiler-bootstrapped/test:test-only dotc.tests" +
132+
";dotty-compiler-bootstrapped/runPartestRunner"
135133
) ++
136134
addCommandAlias(
137135
"partest-only-no-bootstrap",
138-
";packageAll" +
139136
";dotty-compiler/lockPartestFile" +
140137
";dotty-compiler/test:test-only dotc.tests" +
141138
";dotty-compiler/runPartestRunner"

0 commit comments

Comments
 (0)