diff options
| -rwxr-xr-x | test/etc/run-test-jar | 4 | ||||
| -rwxr-xr-x | test/run-test | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar index 2db1e6c947..b360f67874 100755 --- a/test/etc/run-test-jar +++ b/test/etc/run-test-jar @@ -66,6 +66,10 @@ while true; do fi LIB="$1" shift + elif [ "x$1" = "x--gc-stress" ]; then + # Give an extra 5 mins if we are gc-stress. + TIME_OUT_VALUE=$((${TIME_OUT_VALUE} + 300)) + shift elif [ "x$1" = "x--testlib" ]; then shift if [ "x$1" = "x" ]; then diff --git a/test/run-test b/test/run-test index 6bb154942c..3350b35783 100755 --- a/test/run-test +++ b/test/run-test @@ -389,7 +389,7 @@ if [ "$gc_verify" = "true" ]; then run_args="${run_args} --runtime-option -Xgc:preverify_rosalloc --runtime-option -Xgc:postverify_rosalloc" fi if [ "$gc_stress" = "true" ]; then - run_args="${run_args} --runtime-option -Xgc:SS,gcstress --runtime-option -Xms2m --runtime-option -Xmx16m" + run_args="${run_args} --gc-stress --runtime-option -Xgc:SS,gcstress --runtime-option -Xms2m --runtime-option -Xmx16m" fi if [ "$trace" = "true" ]; then run_args="${run_args} --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file-size:2000000" |