From 4c3a2836332aa9035c49270422c89014960fd386 Mon Sep 17 00:00:00 2001 From: inoway46 Date: Wed, 21 Oct 2026 22:27:39 +0900 Subject: [PATCH] test: check build options when skipping config schema test Check QUIC and DTLS build settings when skipping the schema test. Runtime feature helpers also depend on command-line flags. Assisted-by: Codex Signed-off-by: inoway46 --- test/parallel/test-config-json-schema.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-config-json-schema.js b/test/parallel/test-config-json-schema.js index ef05181b50b3..0d9cdb845556 100644 --- a/test/parallel/test-config-json-schema.js +++ b/test/parallel/test-config-json-schema.js @@ -31,7 +31,8 @@ if (!common.hasFFI) { // The JSON schema is generated from a build with the default configuration // options, where these are disabled and their options are not available. -if (common.hasQuic || common.hasDtls || common.hasV8Sandbox) { +if (process.config.variables.node_use_quic || + process.config.variables.node_use_dtls || common.hasV8Sandbox) { common.skip('this test assumes default configuration options'); }