diff --git a/node.gyp b/node.gyp index 75288114a8a4a1..fc47d733aa0a01 100644 --- a/node.gyp +++ b/node.gyp @@ -989,6 +989,10 @@ ['OS=="solaris"', { 'ldflags': [ '-I<(SHARED_INTERMEDIATE_DIR)' ] }], + # Skip cctest while building shared lib node for Windows + [ 'OS=="win" and node_shared=="true"', { + 'type': 'none', + }], ], } ], # end targets diff --git a/vcbuild.bat b/vcbuild.bat index 7c88c25ed1c259..bf41cbfb646c6c 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -542,6 +542,7 @@ if "%test_args%"=="" goto test-v8 if "%config%"=="Debug" set test_args=--mode=debug %test_args% if "%config%"=="Release" set test_args=--mode=release %test_args% if defined no_cctest echo Skipping cctest because no-cctest was specified && goto run-test-py +if not exist %config%\cctest.exe goto run-test-py echo running 'cctest %cctest_args%' "%config%\cctest" %cctest_args% :run-test-py