From 5f5e71de20f8d4714b85fcde8ecebf2315cd0a0f Mon Sep 17 00:00:00 2001 From: iignatyev Date: Thu, 6 Mar 2014 12:46:04 +0400 Subject: [PATCH] 8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test Reviewed-by: roland, kvn --- test/compiler/ciReplay/TestVM.sh | 2 +- test/compiler/ciReplay/common.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/test/compiler/ciReplay/TestVM.sh b/test/compiler/ciReplay/TestVM.sh index e6c3cc569..615446667 100644 --- a/test/compiler/ciReplay/TestVM.sh +++ b/test/compiler/ciReplay/TestVM.sh @@ -78,8 +78,8 @@ then positive_test `expr $stop_level + 50` "TIERED LEVEL $stop_level :: REPLAY" \ "-XX:TieredStopAtLevel=$stop_level" stop_level=`expr $stop_level + 1` + cleanup done - cleanup fi echo TEST PASSED diff --git a/test/compiler/ciReplay/common.sh b/test/compiler/ciReplay/common.sh index bcfdad823..34fd729a8 100644 --- a/test/compiler/ciReplay/common.sh +++ b/test/compiler/ciReplay/common.sh @@ -99,13 +99,12 @@ common_tests() { # $2 - non-tiered comp_level nontiered_tests() { level=`grep "^compile " $replay_data | awk '{print $6}'` - # is level available in non-tiere + # is level available in non-tiered if [ "$level" -eq $2 ] then positive_test $1 "NON-TIERED :: AVAILABLE COMP_LEVEL" \ -XX:-TieredCompilation else - negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ -XX:-TieredCompilation fi -- GitLab