From 453026c5ab7eeeb479d03bb2dc43e42599637ee7 Mon Sep 17 00:00:00 2001 From: Gabriel Schulhof Date: Tue, 27 Mar 2018 09:55:18 -0400 Subject: [PATCH] build: allow vcbuild to merely build addon tests RE: https://github.com/nodejs/build/issues/1097 --- vcbuild.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vcbuild.bat b/vcbuild.bat index 0129319034b28b..7b902a59c9ace3 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -72,6 +72,8 @@ if /i "%1"=="noperfctr" set noperfctr=1&goto arg-ok if /i "%1"=="licensertf" set licensertf=1&goto arg-ok if /i "%1"=="test" set test_args=%test_args% -J %common_test_suites%&set lint_cpp=1&set lint_js=1&goto arg-ok if /i "%1"=="test-ci" set test_args=%test_args% %test_ci_args% -p tap --logfile test.tap %common_test_suites%&set cctest_args=%cctest_args% --gtest_output=tap:cctest.tap&goto arg-ok +if /i "%1"=="build-addons" set build_addons=1&goto arg-ok +if /i "%1"=="build-addons-napi" set build_addons_napi=1&goto arg-ok if /i "%1"=="test-addons" set test_args=%test_args% addons&set build_addons=1&goto arg-ok if /i "%1"=="test-addons-napi" set test_args=%test_args% addons-napi&set build_addons_napi=1&goto arg-ok if /i "%1"=="test-simple" set test_args=%test_args% sequential parallel -J&goto arg-ok