Skip to content

Partest dotty non-bootstrapped. #1024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 14, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ object DottyBuild extends Build {
("-DpartestParentID=" + pid) :: tuning ::: agentOptions ::: travis_build ::: fullpath
}
) ++ addCommandAlias("partest", ";test:package;package;test:runMain dotc.build;lockPartestFile;test:test;runPartestRunner") ++
addCommandAlias("partest-only", ";test:package;package;test:runMain dotc.build;lockPartestFile;test:test-only dotc.tests;runPartestRunner")
addCommandAlias("partest-only", ";test:package;package;test:runMain dotc.build;lockPartestFile;test:test-only dotc.tests;runPartestRunner") ++
addCommandAlias("partest-only-no-bootstrap", ";test:package;package; lockPartestFile;test:test-only dotc.tests;runPartestRunner")

lazy val dotty = Project(id = "dotty", base = file("."), settings = defaults)

Expand Down
2 changes: 1 addition & 1 deletion scripts/jobs/validate/partest
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ scriptsDir="$baseDir/scripts"
git log --pretty=format:"%h - %an, %aD : %s" -n 10

update DarkDimius scala scala-scala dotty-library
sbt $sbtArgs update compile "partest-only --show-diff --verbose"
sbt $sbtArgs update compile "partest-only-no-bootstrap --show-diff --verbose"

11 changes: 11 additions & 0 deletions scripts/jobs/validate/partest-bootstrapped
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash -e

baseDir=${WORKSPACE-`pwd`}
scriptsDir="$baseDir/scripts"
. $scriptsDir/common

git log --pretty=format:"%h - %an, %aD : %s" -n 10

update DarkDimius scala scala-scala dotty-library
sbt $sbtArgs update compile "partest-only --show-diff --verbose"

2 changes: 1 addition & 1 deletion src/dotty/tools/dotc/transform/TreeChecker.scala
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class TreeChecker extends Phase with SymTransformer {
val checker = new Checker(previousPhases(phasesToRun.toList)(ctx))
try checker.typedExpr(ctx.compilationUnit.tpdTree)(checkingCtx)
catch {
case NonFatal(ex) =>
case NonFatal(ex) => //TODO CHECK. Check that we are bootstrapped
implicit val ctx: Context = checkingCtx
ctx.println(i"*** error while checking ${ctx.compilationUnit} after phase ${checkingCtx.phase.prev} ***")
ctx.println(ex.toString)
Expand Down