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 11
11
echo " testing sbt dotc and dotr"
12
12
mkdir out/scriptedtest0
13
13
./bin/dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest0
14
+
14
15
# 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
21
22
22
23
23
24
# check that ` dotc` compiles and ` dotr` runs it
@@ -26,10 +27,11 @@ mkdir out/scriptedtest1
26
27
mkdir out/scriptedtest2
27
28
./bin/dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest1/
28
29
./bin/dotc -tasty -classpath out/scriptedtest1/ -d out/scriptedtest2/ dotrtest.Test
30
+
29
31
# 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