File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ echo "testing sbt dotc -decompile"
18
18
" $SBT " " ;dotc -decompile -color:never -classpath $OUT $MAIN " > " $tmp "
19
19
grep -qe " def main(args: scala.Array\[scala.Predef.String\]): scala.Unit =" " $tmp "
20
20
21
+ echo " testing sbt dotc -decompile from file"
22
+ " $SBT " " ;dotc -decompile -color:never -classpath $OUT $OUT /$TASTY " > " $tmp "
23
+ grep -qe " def main(args: scala.Array\[scala.Predef.String\]): scala.Unit =" " $tmp "
24
+
21
25
echo " testing sbt dotr with no -classpath"
22
26
clear_out " $OUT "
23
27
" $SBT " " ;dotc $SOURCE ; dotr $MAIN " > " $tmp "
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ SBT="./project/scripts/sbt" # if run on CI
5
5
6
6
SOURCE=" tests/pos/HelloWorld.scala"
7
7
MAIN=" HelloWorld"
8
+ TASTY=" HelloWorld.tasty"
8
9
EXPECTED_OUTPUT=" hello world"
9
10
10
11
OUT=$( mktemp -d)
You can’t perform that action at this time.
0 commit comments