Skip to content

Commit 204969b

Browse files
committed
Move sbt tests to scripted tests
1 parent 871a524 commit 204969b

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.drone.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,16 @@ pipeline:
2525
image: lampepfl/dotty:2017-10-20
2626
commands:
2727
- cp -R . /tmp/1/ && cd /tmp/1/
28-
- ./project/scripts/sbt ";compile ;testAll ;dotty-bench/jmh:run 1 1 tests/pos/alias.scala; ;dotc tests/run/arraycopy.scala ;dotr Test"
28+
- ./project/scripts/sbt ";compile ;testAll"
29+
- ./project/scripts/sbtTests
2930

3031
test_bootstrapped:
3132
group: test
3233
image: lampepfl/dotty:2017-10-20
3334
commands:
3435
- cp -R . /tmp/2/ && cd /tmp/2/
35-
- ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/testAll ;dotty-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"
36+
- ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/testAll"
37+
- ./project/scripts/sbtBootstrappedTests
3638

3739
test_optimised:
3840
group: test

project/scripts/sbtBootstrappedTests

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
# check that benchmarks can run
4+
./project/scripts/sbt "dotty-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala"

project/scripts/sbtTests

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
3+
# check that benchmarks can run
4+
./project/scripts/sbt "dotty-bench/jmh:run 1 1 tests/pos/alias.scala"
5+
6+
# check that `dotc` compiles and `dotr` runs it
7+
./project/scripts/sbt ";dotc tests/run/arraycopy.scala ;dotr Test"

0 commit comments

Comments
 (0)