Mercurial > hg > truffle
comparison test/compiler/ciReplay/common.sh @ 17712:d64ae45dbce9
8027257: [TESTBUG] compiler/ciReplay/TestVM.sh : Error: Could not find or load main class negative_test
Reviewed-by: roland, kvn
author | iignatyev |
---|---|
date | Thu, 06 Mar 2014 12:46:04 +0400 |
parents | 4dece0730c50 |
children | 52b4284cb496 c83362e7de6f |
comparison
equal
deleted
inserted
replaced
17711:d559dbbded7a | 17712:d64ae45dbce9 |
---|---|
97 | 97 |
98 # $1 - initial error_code | 98 # $1 - initial error_code |
99 # $2 - non-tiered comp_level | 99 # $2 - non-tiered comp_level |
100 nontiered_tests() { | 100 nontiered_tests() { |
101 level=`grep "^compile " $replay_data | awk '{print $6}'` | 101 level=`grep "^compile " $replay_data | awk '{print $6}'` |
102 # is level available in non-tiere | 102 # is level available in non-tiered |
103 if [ "$level" -eq $2 ] | 103 if [ "$level" -eq $2 ] |
104 then | 104 then |
105 positive_test $1 "NON-TIERED :: AVAILABLE COMP_LEVEL" \ | 105 positive_test $1 "NON-TIERED :: AVAILABLE COMP_LEVEL" \ |
106 -XX:-TieredCompilation | 106 -XX:-TieredCompilation |
107 else | 107 else |
108 negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ | |
109 negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ | 108 negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ |
110 -XX:-TieredCompilation | 109 -XX:-TieredCompilation |
111 fi | 110 fi |
112 } | 111 } |
113 | 112 |