File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 1111echo " testing sbt dotc and dotr"
1212mkdir out/scriptedtest0
1313./bin/dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest0
14+
1415# FIXME #3477
15- # ./bin/dotr -classpath out/scriptedtest0 dotrtest.Test" > sbtdotr1.out
16- # if grep -e "dotr test ok" sbtdotr1.out; then
17- # echo "output ok"
18- # else
19- # exit -1
20- # fi
16+ ./bin/dotr -classpath out/scriptedtest0 dotrtest.Test" > sbtdotr1.out
17+ if grep -e " dotr test ok" sbtdotr1.out; then
18+ echo " output ok"
19+ else
20+ exit -1
21+ fi
2122
2223
2324# check that ` dotc` compiles and ` dotr` runs it
@@ -26,10 +27,11 @@ mkdir out/scriptedtest1
2627mkdir out/scriptedtest2
2728./bin/dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest1/
2829./bin/dotc -tasty -classpath out/scriptedtest1/ -d out/scriptedtest2/ dotrtest.Test
30+
2931# FIXME #3477
30- # ./bin/dotr -classpath out/scriptedtest2/ dotrtest.Test" > sbtdotr2.out
31- # if grep -e "dotr test ok" sbtdotr2.out; then
32- # echo "output ok"
33- # else
34- # exit -1
35- # fi
32+ ./bin/dotr -classpath out/scriptedtest2/ dotrtest.Test" > sbtdotr2.out
33+ if grep -e " dotr test ok" sbtdotr2.out; then
34+ echo " output ok"
35+ else
36+ exit -1
37+ fi
You can’t perform that action at this time.
0 commit comments