Skip to content

Commit 90a5ede

Browse files
committed
Fix #3886: add tests for dotc/dotr/dotd
1 parent 618e5de commit 90a5ede

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pipeline:
2727
commands:
2828
- cp -R . /tmp/1/ && cd /tmp/1/
2929
- ./project/scripts/sbt ";compile ;test"
30-
- ./project/scripts/sbtTests
30+
- ./project/scripts/cmdTests
3131

3232
test_bootstrapped:
3333
group: test

project/scripts/sbtTests renamed to project/scripts/cmdTests

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,9 @@ else
6666
echo "failed output check"
6767
exit -1
6868
fi
69+
70+
./project/scripts/sbt ";dist-bootstrapped/pack"
71+
./dist-bootstrapped/target/pack/bin/dotc tests/run/hello.scala
72+
./dist-bootstrapped/target/pack/bin/dotr Test
73+
echo ":quit" | ./dist-bootstrapped/target/pack/bin/dotr
74+
mkdir -p _site && ./dist-bootstrapped/target/pack/bin/dotd -project Hello -siteroot _site tests/run/hello.scala

0 commit comments

Comments
 (0)