Fix missing resources in native pkldoc, and disable test mode (#1175)

This fixes two issues:

1. Test mode is enabled in pkldoc without the ability to turn it off
2. Native pkldoc is missing required resources

This also adds tests for both `jpkldoc` and `pkldoc`.
This commit is contained in:
Daniel Chao
2025-08-21 06:44:13 -07:00
committed by GitHub
parent ae5f02b285
commit d9db939bdc
13 changed files with 577 additions and 186 deletions

View File

@@ -17,7 +17,7 @@ package org.pkl.server
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.pkl.commons.test.PklExecutablePaths
import org.pkl.commons.test.Executables
import org.pkl.core.messaging.MessageTransports
class NativeServerTest : AbstractServerTest() {
@@ -26,7 +26,7 @@ class NativeServerTest : AbstractServerTest() {
@BeforeEach
fun beforeEach() {
val executable = PklExecutablePaths.firstExisting.toString()
val executable = Executables.pkl.firstExistingNative.toString()
server = ProcessBuilder(executable, "server").start()
client =
TestTransport(