File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 55
66# check that `dotc` compiles and `dotr` runs it
77echo " 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
8+ mkdir out/scriptedtest0
9+ ./project/scripts/sbt " ;dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest0 ;dotr -classpath out/scriptedtest0 dotrtest.Test" > sbtdotr1.out
10+ if grep -e " dotr test ok" sbtdotr1.out; then
11+ echo " output ok"
12+ else
13+ exit -1
14+ fi
15+
16+ # check that `dotc` compiles and `dotr` runs it
17+ echo " testing sbt dotc -tasty and dotr -classpath"
18+ mkdir out/scriptedtest1
19+ mkdir out/scriptedtest2
20+ ./project/scripts/sbt " ;dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest1/; dotc -tasty -classpath out/scriptedtest1/ -d out/scriptedtest2/ dotrtest.Test; dotr -classpath out/scriptedtest2/ dotrtest.Test" > sbtdotr2.out
21+ if grep -e " dotr test ok" sbtdotr2.out; then
1022 echo " output ok"
1123else
1224 exit -1
You can’t perform that action at this time.
0 commit comments