We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93102ab commit be81325Copy full SHA for be81325
project/scripts/sbtTests
@@ -4,4 +4,10 @@
4
./project/scripts/sbt "dotty-bench/jmh:run 1 1 tests/pos/alias.scala"
5
6
# check that `dotc` compiles and `dotr` runs it
7
-./project/scripts/sbt ";dotc tests/run/arraycopy.scala ;dotr Test"
+echo "testing sbt dotc and dotr"
8
+./project/scripts/sbt ";dotc tests/pos/sbtDotrTest.scala ;dotr dotrtest.Test" > sbtdotr.out
9
+if grep -e "dotr test ok" sbtdotr.out; then
10
+ echo "output ok"
11
+else
12
+ exit -1
13
+fi
tests/pos/sbtDotrTest.scala
@@ -0,0 +1,7 @@
1
+package dotrtest
2
+
3
+object Test {
+ def main(args: Array[String]): Unit = {
+ println("dotr test ok")
+ }
+}
0 commit comments