Mercurial > hg > truffle
comparison test/compiler/ciReplay/common.sh @ 14726:92aa6797d639
Backed out merge changeset: b51e29501f30
Backed out merge revision to its first parent (8f483e200405)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Mar 2014 21:30:43 +0100 |
parents | c0b9499e5525 |
children |
comparison
equal
deleted
inserted
replaced
14719:0bdd0d157040 | 14726:92aa6797d639 |
---|---|
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-tiered | 102 # is level available in non-tiere |
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" \ | |
108 negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ | 109 negative_test `expr $1 + 1` "NON-TIERED :: UNAVAILABLE COMP_LEVEL" \ |
109 -XX:-TieredCompilation | 110 -XX:-TieredCompilation |
110 fi | 111 fi |
111 } | 112 } |
112 | 113 |