comparison test/compiler/ciReplay/common.sh @ 14716:03704aa6e71b

Merge.
author Christian Humer <christian.humer@gmail.com>
date Fri, 21 Mar 2014 13:54:43 +0100
parents c0b9499e5525
children 92aa6797d639
comparison
equal deleted inserted replaced
14715:4ea4db3f23ba 14716:03704aa6e71b
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