From 23392f7114b69c9f6556b7bb4ff277ddc2cf64cc Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 1 Mar 2022 01:43:09 +0100 Subject: [PATCH 1/2] jenkins: fix Windows Debug test Refs: https://github.com/nodejs/node/pull/42056 --- jenkins/scripts/windows/node-compile-windows-debug.cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/jenkins/scripts/windows/node-compile-windows-debug.cmd b/jenkins/scripts/windows/node-compile-windows-debug.cmd index 877a12078..221147573 100644 --- a/jenkins/scripts/windows/node-compile-windows-debug.cmd +++ b/jenkins/scripts/windows/node-compile-windows-debug.cmd @@ -11,6 +11,7 @@ if errorlevel 1 exit /b :: Basic sanity check :: Test compiling and running a native add-on +python tools\test.py --create-knownGlobals-json %node_gyp_exe% rebuild --directory=test\addons\hello-world --nodedir="%CD%" if errorlevel 1 exit /b Debug\node.exe test\addons\hello-world\test.js From d927e7546cb6875d8787833d5fa9f9091a92caeb Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Tue, 1 Mar 2022 10:29:10 +0100 Subject: [PATCH 2/2] Update node-compile-windows-debug.cmd --- jenkins/scripts/windows/node-compile-windows-debug.cmd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jenkins/scripts/windows/node-compile-windows-debug.cmd b/jenkins/scripts/windows/node-compile-windows-debug.cmd index 221147573..06262ff14 100644 --- a/jenkins/scripts/windows/node-compile-windows-debug.cmd +++ b/jenkins/scripts/windows/node-compile-windows-debug.cmd @@ -11,8 +11,7 @@ if errorlevel 1 exit /b :: Basic sanity check :: Test compiling and running a native add-on -python tools\test.py --create-knownGlobals-json %node_gyp_exe% rebuild --directory=test\addons\hello-world --nodedir="%CD%" if errorlevel 1 exit /b -Debug\node.exe test\addons\hello-world\test.js +python tools\test.py --shell=Debug\node.exe test\addons\hello-world\test.js if errorlevel 1 exit /b