summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorWilliam Godbe <william.godbe@comcast.net>2015-12-30 12:23:22 -0800
committerWilliam Godbe <william.godbe@comcast.net>2015-12-30 12:23:22 -0800
commit3ddbfc271892787d13404890a80f7840baaf89f5 (patch)
tree7e73d89fe07b316cb2d58fff9b0112461eb60033 /build.cmd
parent0bcc61ddadae763e11d8ae6c9f72c42adfbfa37b (diff)
downloadcoreclr-3ddbfc271892787d13404890a80f7840baaf89f5.tar.gz
coreclr-3ddbfc271892787d13404890a80f7840baaf89f5.tar.bz2
coreclr-3ddbfc271892787d13404890a80f7840baaf89f5.zip
Priority 1 tests should run nightly
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd14
1 files changed, 12 insertions, 2 deletions
diff --git a/build.cmd b/build.cmd
index b50eca1359..c9a6d8b893 100644
--- a/build.cmd
+++ b/build.cmd
@@ -49,6 +49,8 @@ if /i "%1" == "vs2015" (set __VSVersion=%1&shift&goto Arg_Loop)
if /i "%1" == "skiptestbuild" (set __SkipTestBuild=1&shift&goto Arg_Loop)
if /i "%1" == "docrossgen" (set __DoCrossgen=1&shift&goto Arg_Loop)
+if /i "%1" == "priority" (set __TestPriority=%2&shift&shift&goto Arg_Loop)
+
if /i "%1" == "/toolset_dir" (set __ToolsetDir=%2&shift&shift&goto Arg_Loop)
echo Invalid commandline argument: %1
@@ -294,7 +296,14 @@ if defined __SkipTestBuild (
echo.
echo Commencing build of tests for %__BuildOS%.%__BuildArch%.%__BuildType%
echo.
-call %__ProjectDir%\tests\buildtest.cmd
+set __BuildtestArgs=
+
+if defined __TestPriority (
+ set "__BuildtestArgs=Priority %__TestPriority%"
+)
+
+call %__ProjectDir%\tests\buildtest.cmd %__BuildtestArgs%
+
IF NOT ERRORLEVEL 1 goto SuccessfulBuild
echo Test binaries build failed. Refer !__TestManagedBuildLog! for details.
exit /b 1
@@ -323,4 +332,5 @@ echo linuxmscorlib - Build mscorlib for Linux
echo osxmscorlib - Build mscorlib for OS X
echo skiptestbuild - Skip building tests
echo toolset_dir - toolset directory -- Arm64 use only.
-exit /b 1
+echo Priority (N) where N is a number that signifies the set of tests that will be built and consequently run.
+exit /b 1 \ No newline at end of file