fix(ci): bundle Studio protocol fixtures for standalone tests
Load the fixed protocol vectors from test resources instead of a sibling runtime checkout, preserving all wire assertions. Validation: the Jenkins Gradle command passed under JDK 25 in an isolated Studio checkout without ../runtime; 1064 tests, zero failures, consolidated JaCoCo report generated.
This commit is contained in:
@@ -160,7 +160,6 @@ tasks.register<Test>("headlessMcpDesktopTest") {
|
||||
// Subprocess tests exercise the actual Studio main and OS ownership boundaries.
|
||||
tasks.withType<Test>().configureEach {
|
||||
systemProperty("studio.test.classpath", sourceSets["test"].runtimeClasspath.asPath)
|
||||
systemProperty("studio.test.protocolFixtures", rootProject.file("../runtime/devtools/studio-protocol/fixtures").absolutePath)
|
||||
systemProperty("studio.test.studioHost", providers.gradleProperty("studioPlayHost").getOrElse(
|
||||
rootProject.file("../runtime/target/debug/prometeu-host-desktop-winit" + if (System.getProperty("os.name").startsWith("Windows")) ".exe" else "").absolutePath))
|
||||
systemProperty("studio.test.studioCartridge", rootProject.file("../runtime/test-cartridges/dummy-boy").absolutePath)
|
||||
|
||||
Reference in New Issue
Block a user