From 95fbc23fd66d043ba7a2d72901b6a8794411d586 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 21 May 2018 14:09:09 -0700 Subject: [PATCH] Add support for running focused tests via windows test script --- script/test.cmd | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/script/test.cmd b/script/test.cmd index 31907ab6..f2d97303 100644 --- a/script/test.cmd +++ b/script/test.cmd @@ -1,2 +1,9 @@ +@echo off msbuild /p:Configuration=Test tests.vcxproj -.\test\tests.exe --reporter=singleline --no-color \ No newline at end of file + +set only_arg= +IF not "%~1"=="" ( + set only_arg=--only=%1 +) + +.\test\tests.exe --reporter=singleline --no-color %only_arg%