File tree Expand file tree Collapse file tree 3 files changed +21
-36
lines changed Expand file tree Collapse file tree 3 files changed +21
-36
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ pipeline:
35
35
commands :
36
36
- cp -R . /tmp/2/ && cd /tmp/2/
37
37
- ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/test"
38
- - ./project/scripts/sbtBootstrappedTests
39
38
40
39
test_optimised :
41
40
group : test
Original file line number Diff line number Diff line change 69
69
exit -1
70
70
fi
71
71
72
+
73
+ # check that benchmarks can run
74
+ ./project/scripts/sbt " dotty-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"
75
+
76
+ # setup for `dotc`/`dotr` script tests
77
+ ./project/scripts/sbt dist-bootstrapped/pack
78
+
79
+ # check that `dotc` compiles and `dotr` runs it
80
+ echo " testing ./bin/dotc and ./bin/dotr"
81
+ mkdir out/scriptedtest0
82
+ ./bin/dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest0
83
+ ./bin/dotr -classpath out/scriptedtest0 dotrtest.Test
84
+
85
+ # check that `dotc -from-tasty` compiles and `dotr` runs it
86
+ echo " testing ./bin/dotc -from-tasty and dotr -classpath"
87
+ mkdir out/scriptedtest1
88
+ mkdir out/scriptedtest2
89
+ ./bin/dotc tests/pos/sbtDotrTest.scala -d out/scriptedtest1/
90
+ ./bin/dotc -from-tasty -classpath out/scriptedtest1/ -d out/scriptedtest2/ dotrtest.Test
91
+ ./bin/dotr -classpath out/scriptedtest2/ dotrtest.Test
92
+
72
93
./project/scripts/sbt " ;dist-bootstrapped/pack"
73
94
./dist-bootstrapped/target/pack/bin/dotc tests/run/hello.scala
74
95
./dist-bootstrapped/target/pack/bin/dotr Test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments