summaryrefslogtreecommitdiff
path: root/tests/runtest.sh
diff options
context:
space:
mode:
authorRama krishnan Raghupathy <ramarag@microsoft.com>2016-05-27 16:23:56 -0700
committerRama krishnan Raghupathy <ramarag@microsoft.com>2016-05-27 16:23:56 -0700
commit7d2dac1e8fe32ca9125cd29a42342ae6b0f64848 (patch)
tree492e5041bdca0d78a74173361c837c49e75d60d2 /tests/runtest.sh
parent24bdde815c23584cdba6c5835977dbf568e74703 (diff)
parenta97eacb1813191e07b2f9b12b58ecb4ec72bb653 (diff)
downloadcoreclr-7d2dac1e8fe32ca9125cd29a42342ae6b0f64848.tar.gz
coreclr-7d2dac1e8fe32ca9125cd29a42342ae6b0f64848.tar.bz2
coreclr-7d2dac1e8fe32ca9125cd29a42342ae6b0f64848.zip
Merge pull request #5261 from ramarag/gcstress
Refactoring the way GC Stress logic is used while running tests
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-xtests/runtest.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh
index 945088dde7..d4cb111b7c 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -805,7 +805,7 @@ do
((disableEventLogging = 1))
;;
--runcrossgentests)
- ((RunCrossGenTests = 1))
+ export RunCrossGen=1
;;
--sequential)
((maxProcesses = 1))
@@ -831,6 +831,9 @@ do
--test-env=*)
testEnv=${i#*=}
;;
+ --gcstresslevel=*)
+ export COMPlus_GCStress=${i#*=}
+ ;;
*)
echo "Unknown switch: $i"
print_usage
@@ -843,9 +846,6 @@ if ((disableEventLogging == 0)); then
export COMPlus_EnableEventLog=1
fi
-if ((RunCrossGenTests == 1)); then
- export RunCrossGen=1
-fi
export CORECLR_SERVER_GC="$serverGC"
if [ -z "$testRootDir" ]; then