aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/dotc2
-rw-r--r--test/dotc/build.scala1
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/dotc b/bin/dotc
index aa8a9e44a..7b90b5220 100755
--- a/bin/dotc
+++ b/bin/dotc
@@ -192,7 +192,7 @@ trap onExit INT
# If using the boot classpath, also pass an empty classpath
# to java to suppress "." from materializing.
classpathArgs () {
- if [[ -n $bootstrapped ]]; then
+ if [[ "true" == $bootstrapped ]]; then
checkjar $DOTTY_JAR "test:runMain dotc.build" src
toolchain="$DOTTY_JAR:$SCALA_LIBRARY_JAR:$SCALA_REFLECT_JAR:$SCALA_COMPILER_JAR:$JLINE_JAR"
else
diff --git a/test/dotc/build.scala b/test/dotc/build.scala
index cb5f7ab95..9f47796c3 100644
--- a/test/dotc/build.scala
+++ b/test/dotc/build.scala
@@ -19,6 +19,7 @@ object build extends tests {
}
def main(args: Array[String]): Unit = {
+ println("------------ Building dotty ------------")
deleteFilesInFolder(new File(defaultOutputDir)) // clear previous output
dotty // build output dir
val p = Runtime.getRuntime.exec(Array("jar", "cf", "dotty.jar", "-C", "out", "."))