Skip to content

Commit 7fc3f5e

Browse files
Add utest to the community build
1 parent ffbe5e0 commit 7fc3f5e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Submodule utest updated 1 file

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ class CommunityBuildTest {
3939
("sbt", arguments)
4040
}
4141

42+
def testMill(project: String, testCommand: String, extraMillArgs: Seq[String] = Nil) = test(project) {
43+
("./mill", extraMillArgs :+ testCommand)
44+
}
45+
4246
/** Build the given project with the published local compiler and sbt plugin.
4347
*
4448
* This test reads the compiler version from community-build/dotty-bootstrapped.version
@@ -96,6 +100,12 @@ class CommunityBuildTest {
96100
}
97101
}
98102

103+
@Test def utest = testMill(
104+
project = "utest",
105+
testCommand = "__.__.test",
106+
extraMillArgs = List("-i", "-D", s"dottyVersion=$compilerVersion")
107+
)
108+
99109
@Test def intent = testSbt(
100110
project = "intent",
101111
testCommand = "test",

0 commit comments

Comments
 (0)