File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ class CommunityBuildTest {
39
39
(" sbt" , arguments)
40
40
}
41
41
42
+ def testMill (project : String , testCommand : String , extraMillArgs : Seq [String ] = Nil ) = test(project) {
43
+ (" ./mill" , extraMillArgs :+ testCommand)
44
+ }
45
+
42
46
/** Build the given project with the published local compiler and sbt plugin.
43
47
*
44
48
* This test reads the compiler version from community-build/dotty-bootstrapped.version
@@ -96,6 +100,12 @@ class CommunityBuildTest {
96
100
}
97
101
}
98
102
103
+ @ Test def utest = testMill(
104
+ project = " utest" ,
105
+ testCommand = " __.__.test" ,
106
+ extraMillArgs = List (" -i" , " -D" , s " dottyVersion= $compilerVersion" )
107
+ )
108
+
99
109
@ Test def intent = testSbt(
100
110
project = " intent" ,
101
111
testCommand = " test" ,
You can’t perform that action at this time.
0 commit comments