Skip to content

Commit 1fa3a93

Browse files
committed
Use JUnit to run IDE tests
1 parent 480f6a2 commit 1fa3a93

File tree

3 files changed

+2
-66
lines changed

3 files changed

+2
-66
lines changed

.drone.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ pipeline:
4848
image: lampepfl/dotty:2018-04-10
4949
commands:
5050
- cp -R . /tmp/4/ && cd /tmp/4/
51-
- ./project/scripts/sbt dotty-language-server/test:run
51+
- ./project/scripts/sbt dotty-language-server/test
5252

5353
test_sbt:
5454
group: test

language-server/test/dotty/tools/languageserver/Main.scala

Lines changed: 0 additions & 63 deletions
This file was deleted.

project/Build.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,13 @@ object Build {
766766
// fork so that the shutdown hook in Main is run when we ctrl+c a run
767767
// (you need to have `cancelable in Global := true` in your global sbt config to ctrl+c a run)
768768
fork in run := true,
769+
fork in Test := true,
769770
libraryDependencies ++= Seq(
770771
"org.eclipse.lsp4j" % "org.eclipse.lsp4j" % "0.3.0",
771772
Dependencies.`jackson-databind`
772773
),
773774
javaOptions := (javaOptions in `dotty-compiler-bootstrapped`).value,
774775

775-
test := {}, // Tests should be run with dotty-language-server/test:run
776-
777776
run := Def.inputTaskDyn {
778777
val inputArgs = spaceDelimited("<arg>").parsed
779778

0 commit comments

Comments
 (0)