Allow all architectures for buildtest.cmd
authorBruce Forstall <brucefo@microsoft.com>
Sat, 9 Jan 2016 00:42:39 +0000 (16:42 -0800)
committerBruce Forstall <brucefo@microsoft.com>
Sat, 9 Jan 2016 00:42:39 +0000 (16:42 -0800)
build.cmd
tests/buildtest.cmd

index 8f0d8ed..401a520 100644 (file)
--- a/build.cmd
+++ b/build.cmd
@@ -427,11 +427,6 @@ if defined __SkipTestBuild (
     goto SkipTestBuild
 )
 
-if /i not "%__BuildArch%" == "x64" (
-    echo %__MsgPrefix%Skipping test build: architecture %__BuildArch% not supported for test build.
-    goto SkipTestBuild
-)
-
 echo %__MsgPrefix%Commencing build of tests for %__BuildOS%.%__BuildArch%.%__BuildType%
 
 REM Construct the arguments to pass to the test build script.
index c872f37..f7a02ec 100644 (file)
@@ -46,6 +46,9 @@ if /i "%1" == "/help" goto Usage
 if /i "%1" == "-help" goto Usage
 
 if /i "%1" == "x64"                 (set __BuildArch=x64&shift&goto Arg_Loop)
+if /i "%1" == "x86"                 (set __BuildArch=x86&shift&goto Arg_Loop)
+if /i "%1" == "arm"                 (set __BuildArch=arm&shift&goto Arg_Loop)
+if /i "%1" == "arm64"               (set __BuildArch=arm64&shift&goto Arg_Loop)
 
 if /i "%1" == "debug"               (set __BuildType=Debug&shift&goto Arg_Loop)
 if /i "%1" == "release"             (set __BuildType=Release&shift&goto Arg_Loop)