fix(ci): bundle Studio protocol fixtures for standalone tests
Test / Tests and coverage
Intrepid/Prometeu/Studio/pipeline/head This commit looks good

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:
2026-11-19 20:37:44 +00:00
parent da0b1008cc
commit 71b62a8e0a
5 changed files with 31 additions and 12 deletions
-1
View File
@@ -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)