mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-28 09:30:10 +08:00
Update mirai-console.integration-test
This commit is contained in:
parent
747bc05591
commit
6f24035154
@ -83,8 +83,9 @@ mcit_test.configure {
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.allprojects {
|
||||
if (project.path.removePrefix(":").startsWith("mirai-console.integration-test.tp.")) {
|
||||
val crtProject = project
|
||||
subprojects {
|
||||
if (project.parent == crtProject) {
|
||||
project.afterEvaluate {
|
||||
val tk = tasks.named<Jar>("jar")
|
||||
subplugins.add(tk)
|
||||
|
@ -56,6 +56,7 @@ internal fun main() {
|
||||
|
||||
ConsoleTerminalSettings.setupAnsi = false
|
||||
ConsoleTerminalSettings.noConsole = true
|
||||
ConsoleTerminalSettings.launchOptions.crashWhenPluginLoadFailed = true
|
||||
|
||||
val testUnits: List<AbstractTestPoint> = readStringListFromEnv("IT_POINTS").asSequence()
|
||||
.onEach { println("[MCIT] Loading test point: $it") }
|
||||
|
@ -69,7 +69,7 @@ fun includeConsoleITPlugin(path: File) {
|
||||
initScript.writeText(consoleIntegrationTestSubPluginBuildGradleKtsTemplate)
|
||||
}
|
||||
|
||||
val projectPath = ":mirai-console.integration-test.tp.${path.name}"
|
||||
val projectPath = ":mirai-console.integration-test:${path.name}"
|
||||
include(projectPath)
|
||||
project(projectPath).projectDir = path
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user