summaryrefslogtreecommitdiff
path: root/tests/runtest.cmd
diff options
context:
space:
mode:
authorRama Krishnan Raghupathy <ramarag@microsoft.com>2016-05-26 11:37:18 -0700
committerRama Krishnan Raghupathy <ramarag@microsoft.com>2016-05-26 16:54:22 -0700
commita97eacb1813191e07b2f9b12b58ecb4ec72bb653 (patch)
tree736d017afbaa00bb26bacabaa9d79015aed8bcbc /tests/runtest.cmd
parentb671a720e48e5a1e5c5fe839bb6d959460f6c82e (diff)
downloadcoreclr-a97eacb1813191e07b2f9b12b58ecb4ec72bb653.tar.gz
coreclr-a97eacb1813191e07b2f9b12b58ecb4ec72bb653.tar.bz2
coreclr-a97eacb1813191e07b2f9b12b58ecb4ec72bb653.zip
Fxing the case of COMPlus_GCStress
Removing Build dependency for GC Stress
Diffstat (limited to 'tests/runtest.cmd')
-rw-r--r--tests/runtest.cmd12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index 374c05d896..03b783eabc 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -63,7 +63,9 @@ if /i "%1" == "jitminopts" (set COMPlus_JITMinOpts=1&shift&shift&goto
if /i "%1" == "jitforcerelocs" (set COMPlus_ForceRelocs=1&shift&shift&goto Arg_Loop)
if /i "%1" == "GenerateLayoutOnly" (set __GenerateLayoutOnly=1&set __SkipWrapperGeneration=true&shift&goto Arg_Loop)
if /i "%1" == "PerfTests" (set __PerfTests=true&set __SkipWrapperGeneration=true&shift&goto Arg_Loop)
-if /i "%1" == "runcrossgentests" (set __RunCrossgenTests=1&shift&goto Arg_Loop)
+if /i "%1" == "runcrossgentests" (set RunCrossGen=true&shift&goto Arg_Loop)
+REM change it to COMPlus_GCStress when we stop using xunit harness
+if /i "%1" == "gcstresslevel" (set __GCSTRESSLEVEL=%2&shift&shift&goto Arg_Loop)
if /i not "%1" == "msbuildargs" goto SkipMsbuildArgs
:: All the rest of the args will be collected and passed directly to msbuild.
@@ -163,8 +165,7 @@ REM These log files are created automatically by the test run process. Q: what d
set __TestRunHtmlLog=%__LogsDir%\TestRun_%__BuildOS%__%__BuildArch%__%__BuildType%.html
set __TestRunXmlLog=%__LogsDir%\TestRun_%__BuildOS%__%__BuildArch%__%__BuildType%.xml
-REM set ENV variables here:
-if defined __RunCrossgenTests ( set RunCrossGen=true)
+
if "%__PerfTests%"=="true" goto RunPerfTests
if "%__SkipWrapperGeneration%"=="true" goto SkipWrapperGeneration
@@ -350,10 +351,11 @@ echo TestEnv- Optional parameter - this will run a custom script to set custom t
echo VSVersion- Optional parameter - VS2013 or VS2015 ^(default: VS2015^)
echo GenerateLayoutOnly - If specified will not run the tests and will only create the Runtime Dependency Layout
echo RunCrossgenTests - Runs ReadytoRun tests
-echo jitstress <n> - Runs the tests with COMPlus_JitStress=n
-echo jitstressregs <n> - Runs the tests with COMPlus_JitStressRegs=n
+echo jitstress n - Runs the tests with COMPlus_JitStress=n
+echo jitstressregs n - Runs the tests with COMPlus_JitStressRegs=n
echo jitminopts - Runs the tests with COMPlus_JITMinOpts=1
echo jitforcerelocs - Runs the tests with COMPlus_ForceRelocs=1
+echo gcstresslevel n - Runs the tests with COMPlus_GCStress=n
echo CORE_ROOT The path to the runtime
exit /b 1