diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-06-02 11:41:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 11:41:22 -0700 |
commit | adaaa2e65127660166b7d2a3454e154f61f8218f (patch) | |
tree | d686ee67b5fab1d8f413a62a7d4c819a27b4be54 | |
parent | c872d15409b4ac969be4b33df3a74721e6e2c3ee (diff) | |
parent | 1dcd4b94c626542c9c6b73aac50c120186e03fe4 (diff) | |
download | coreclr-adaaa2e65127660166b7d2a3454e154f61f8218f.tar.gz coreclr-adaaa2e65127660166b7d2a3454e154f61f8218f.tar.bz2 coreclr-adaaa2e65127660166b7d2a3454e154f61f8218f.zip |
Merge pull request #11803 from BruceForstall/FixRuntest
Update runtest.cmd help to reflect reality
-rw-r--r-- | tests/runtest.cmd | 59 |
1 files changed, 38 insertions, 21 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd index d500c53289..2a81ec6f3f 100644 --- a/tests/runtest.cmd +++ b/tests/runtest.cmd @@ -430,31 +430,48 @@ exit /b 0 :Usage +@REM NOTE: The caret character is used to escape meta-characters known to the CMD shell. This character does +@REM NOTE: not appear in output. Thus, while it might look like in lines below that the "-" are not aligned, +@REM NOTE: they are in the output (and please keep them aligned). echo. echo Usage: -echo %0 BuildArch BuildType [TestEnv TEST_ENV_SCRIPT] [VSVersion] CORE_ROOT +echo %0 [options] [^<CORE_ROOT^>] +echo. echo where: echo. -echo./? -? /h -h /help -help: view this message. -echo BuildArch- Optional parameter - x64 or x86 ^(default: x64^). -echo BuildType- Optional parameter - Debug, Release, or Checked ^(default: Debug^). -echo TestEnv- Optional parameter - this will run a custom script to set custom test environment settings. -echo VSVersion- Optional parameter - VS2015 or VS2017 ^(default: VS2017^) -echo AgainstPackages - Optional parameter - this indicates that we are running tests that were built against packages -echo GenerateLayoutOnly - If specified will not run the tests and will only create the Runtime Dependency Layout -echo link "ILlink" - Runs the tests after linking via ILlink -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 jitminopts - Runs the tests with COMPlus_JITMinOpts=1 -echo jitforcerelocs - Runs the tests with COMPlus_ForceRelocs=1 -echo jitdisasm - Runs jit-dasm on the tests -echo ilasmroundtrip - Runs ilasm round trip on the tests -echo gcstresslevel n - Runs the tests with COMPlus_GCStress=n -echo 0: None 1: GC on all allocs and 'easy' places -echo 2: GC on transitions to preemptive GC 4: GC on every allowable JITed instr -echo 8: GC on every allowable NGEN instr 16: GC only on a unique stack trace -echo CORE_ROOT The path to the runtime +echo./? -? /h -h /help -help - View this message. +echo ^<build_architecture^> - Specifies build architecture: x64, x86, arm, or arm64 ^(default: x64^). +echo ^<build_type^> - Specifies build type: Debug, Release, or Checked ^(default: Debug^). +echo VSVersion ^<vs_version^> - VS2015 or VS2017 ^(default: VS2017^). +echo TestEnv ^<test_env_script^> - Run a custom script before every test to set custom test environment settings. +echo AgainstPackages - This indicates that we are running tests that were built against packages. +echo GenerateLayoutOnly - If specified will not run the tests and will only create the Runtime Dependency Layout +echo sequential - Run tests sequentially (no parallelism). +echo crossgen - Precompile ^(crossgen^) the managed assemblies in CORE_ROOT before running the tests. +echo link ^<ILlink^> - Runs the tests after linking via the IL linker ^<ILlink^>. +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 jitminopts - Runs the tests with COMPlus_JITMinOpts=1 +echo jitforcerelocs - Runs the tests with COMPlus_ForceRelocs=1 +echo jitdisasm - Runs jit-dasm on the tests +echo ilasmroundtrip - Runs ilasm round trip on the tests +echo longgc - Run the long-running GC tests +echo gcsimulator - Run the GC Simulator tests +echo gcstresslevel ^<n^> - Runs the tests with COMPlus_GCStress=n. n=0 means no GC Stress. Otherwise, n is a bitmask of the following: +echo 1: GC on all allocations and 'easy' places +echo 2: GC on transitions to preemptive GC +echo 4: GC on every allowable JITed instruction +echo 8: GC on every allowable NGEN instruction +echo 16: GC only on a unique stack trace +echo msbuildargs ^<args...^> - Pass all subsequent args directly to msbuild invocations. +echo ^<CORE_ROOT^> - Path to the runtime to test (if specified). +echo. +echo Note that arguments are not case-sensitive. +echo. +echo Examples: +echo %0 x86 checked +echo %0 x64 release GenerateLayoutOnly exit /b 1 :NoVS |