summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeunsik Lim <geunsik.lim@samsung.com>2016-05-28 10:25:35 +0900
committerGeunsik Lim <geunsik.lim@samsung.com>2016-05-28 11:29:44 +0900
commit38640b47ce6e95dbcdf5ed9ddc3b8e18182d949b (patch)
tree82a6fab73b958a73d5221992ba440a69494efdf8 /tests
parent7703f93bba45c8347a9f7b813e214fe7d8c1fc73 (diff)
downloadcoreclr-38640b47ce6e95dbcdf5ed9ddc3b8e18182d949b.tar.gz
coreclr-38640b47ce6e95dbcdf5ed9ddc3b8e18182d949b.tar.bz2
coreclr-38640b47ce6e95dbcdf5ed9ddc3b8e18182d949b.zip
Documentation: Adding flag descriptions of unit test scripts
Let's append the meaning of the 'priority' and 'gcstresslevel' flag. The additional description of the 'priority' flag is derived from ./coreclr/tests/dir.props. And, that of the 'gcstresslevel' flag is derived from ./coreclr/src/gc/sample/gcenv.h. ver2: Moved 'gcstresslevel' flag from ./tests/buildtest.cmd to ./tests/runtest.*. ver1: Added 'priority' and 'gcstresslevel' flag in ./tests/buildtest.cmd Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/buildtest.cmd3
-rw-r--r--tests/runtest.cmd3
-rwxr-xr-xtests/runtest.sh4
3 files changed, 10 insertions, 0 deletions
diff --git a/tests/buildtest.cmd b/tests/buildtest.cmd
index 7cec452017..37acb7691c 100644
--- a/tests/buildtest.cmd
+++ b/tests/buildtest.cmd
@@ -365,6 +365,9 @@ echo clean: force a clean build ^(default is to perform an incremental build^).
echo CrossGen: enables the tests to run crossgen on the test executables before executing them.
echo msbuildargs ... : all arguments following this tag will be passed directly to msbuild.
echo priority ^<N^> : specify a set of test that will be built and run, with priority N.
+echo 0: Build only priority 0 cases as essential testcases (default)
+echo 1: Build all tests with priority 0 and 1
+echo 666: Build all tests with priority 0, 1 ... 666
echo sequential: force a non-parallel build ^(default is to build in parallel
echo using all processors^).
echo longgctests: Build tests so that runtests.cmd will do a long-running GC test.
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index 03b783eabc..ef5b4fe007 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -356,6 +356,9 @@ 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 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
exit /b 1
diff --git a/tests/runtest.sh b/tests/runtest.sh
index d4cb111b7c..4a957f22af 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -51,6 +51,10 @@ function print_usage {
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 ' 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 ''
echo 'Runtime Code Coverage options:'
echo ' --coreclr-coverage : Optional argument to get coreclr code coverage reports'