Path: blob/master/test/functional/cmdLineTests/dscr/dscr.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>12<!--3Copyright (c) 2016, 2021 IBM Corp. and others45This program and the accompanying materials are made available under6the terms of the Eclipse Public License 2.0 which accompanies this7distribution and is available at https://www.eclipse.org/legal/epl-2.0/8or the Apache License, Version 2.0 which accompanies this distribution and9is available at https://www.apache.org/licenses/LICENSE-2.0.1011This Source Code may also be made available under the following12Secondary Licenses when the conditions for such availability set13forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14General Public License, version 2 with the GNU Classpath15Exception [1] and GNU General Public License, version 2 with the16OpenJDK Assembly Exception [2].1718[1] https://www.gnu.org/software/classpath/license.html19[2] http://openjdk.java.net/legal/assembly-exception.html2021SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception22-->2324<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2526<suite id="J9 set HW prefetch AIX Command-Line Option Tests" timeout="2400">27<variable name="CLASS" value="-cp $UTILSJAR$ VMBench.FibBench" />2829<test id="Disabling Hardware Prefetch -XXsetHWPrefetch:none">30<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:none $CLASS$</command>31<output regex="no" type="success">Fibonacci: iterations</output>32<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 1</output>33<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>34<output type="failure" caseSensitive="yes" regex="no">Exception:</output>35<output type="failure" caseSensitive="no" regex="no">corrupt</output>36<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>37</test>3839<test id="Disabling Hardware Prefetch -XXsetHWPrefetch:all">40<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:all $CLASS$</command>41<output regex="no" type="success">Command-line option unrecognised: -XXsetHWPrefetch:all</output>42<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>43<output type="failure" caseSensitive="yes" regex="no">Exception:</output>44<output type="failure" caseSensitive="no" regex="no">corrupt</output>45<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>46</test>4748<test id="Setting OS Default Value -XXsetHWPrefetch:os-default">49<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:os-default $CLASS$</command>50<output regex="no" type="success">Fibonacci: iterations</output>51<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 0</output>52<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>53<output type="failure" caseSensitive="yes" regex="no">Exception:</output>54<output type="failure" caseSensitive="no" regex="no">corrupt</output>55<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>56</test>5758<test id="Setting Default Value -XXsetHWPrefetch=0">59<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch=0 $CLASS$</command>60<output regex="no" type="success">Fibonacci: iterations</output>61<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 0</output>62<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>63<output type="failure" caseSensitive="yes" regex="no">Exception:</output>64<output type="failure" caseSensitive="no" regex="no">corrupt</output>65<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>66</test>6768<test id="Setting Non Default Value -XXsetHWPrefetch=1">69<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch=1 $CLASS$</command>70<output regex="no" type="success">Fibonacci: iterations</output>71<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 1</output>72<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>73<output type="failure" caseSensitive="yes" regex="no">Exception:</output>74<output type="failure" caseSensitive="no" regex="no">corrupt</output>75<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>76</test>7778<test id="Invalid Input -XXsetHWPrefetch=-1">79<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch=-1 $CLASS$</command>80<output regex="no" type="success">Parse error for -XXsetHWPrefetch=</output>81<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>82<output type="failure" caseSensitive="yes" regex="no">Exception:</output>83<output type="failure" caseSensitive="no" regex="no">corrupt</output>84<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>85</test>8687<!-- RTC 110469: AIX cmdLineTester_dscr fails on aix71p8vm6.canlab.ibm.com. Invalid test. -->8889<test id="Invalid Input -XXsetHWPrefetch=abc">90<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch=abc $CLASS$</command>91<output regex="no" type="success">Parse error for -XXsetHWPrefetch=</output>92<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>93<output type="failure" caseSensitive="yes" regex="no">Exception:</output>94<output type="failure" caseSensitive="no" regex="no">corrupt</output>95<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>96</test>9798<test id="Test Argument Ordering -XXsetHWPrefetch:none -XXsetHWPrefetch=2">99<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:none -XXsetHWPrefetch=2 $CLASS$</command>100<output regex="no" type="success">Fibonacci: iterations</output>101<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 2</output>102<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>103<output type="failure" caseSensitive="yes" regex="no">Exception:</output>104<output type="failure" caseSensitive="no" regex="no">corrupt</output>105<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>106</test>107108<test id="Test Argument Ordering -XXsetHWPrefetch=3 -XXsetHWPrefetch:none">109<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch=3 -XXsetHWPrefetch:none $CLASS$</command>110<output regex="no" type="success">Fibonacci: iterations</output>111<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 1</output>112<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>113<output type="failure" caseSensitive="yes" regex="no">Exception:</output>114<output type="failure" caseSensitive="no" regex="no">corrupt</output>115<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>116</test>117118<test id="Test Argument Ordering -XXsetHWPrefetch=1 -XXsetHWPrefetch=-3 -XXsetHWPrefetch=2">119<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch=1 -XXsetHWPrefetch=-3 -XXsetHWPrefetch=2 $CLASS$</command>120<output regex="no" type="success">Fibonacci: iterations</output>121<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 2</output>122<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>123<output type="failure" caseSensitive="yes" regex="no">Exception:</output>124<output type="failure" caseSensitive="no" regex="no">corrupt</output>125<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>126</test>127128<test id="Test Argument Ordering -XXsetHWPrefetch:none -XXsetHWPrefetch=2 -XXsetHWPrefetch:os-default">129<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:none -XXsetHWPrefetch=2 -XXsetHWPrefetch:os-default $CLASS$</command>130<output regex="no" type="success">Fibonacci: iterations</output>131<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 0</output>132<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>133<output type="failure" caseSensitive="yes" regex="no">Exception:</output>134<output type="failure" caseSensitive="no" regex="no">corrupt</output>135<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>136</test>137138<test id="Test Argument Ordering -XXsetHWPrefetch:os-default -XXsetHWPrefetch:none -XXsetHWPrefetch:os-default">139<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:os-default -XXsetHWPrefetch:none -XXsetHWPrefetch:os-default $CLASS$</command>140<output regex="no" type="success">Fibonacci: iterations</output>141<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 0</output>142<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>143<output type="failure" caseSensitive="yes" regex="no">Exception:</output>144<output type="failure" caseSensitive="no" regex="no">corrupt</output>145<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>146</test>147148<test id="Test Argument Ordering -XXsetHWPrefetch:none -XXsetHWPrefetch:os-default -XXsetHWPrefetch:none">149<command>$EXE$ -Xtrace:print={j9util.35-36} -XXsetHWPrefetch:none -XXsetHWPrefetch:os-default -XXsetHWPrefetch:none $CLASS$</command>150<output regex="no" type="success">Fibonacci: iterations</output>151<output regex="no" type="required">j9util(j9vm).35 - setHWPrefetch return code = 0 and current value of DSCR = 1</output>152<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>153<output type="failure" caseSensitive="yes" regex="no">Exception:</output>154<output type="failure" caseSensitive="no" regex="no">corrupt</output>155<output type="failure" caseSensitive="yes" regex="no">Processing dump event</output>156</test>157158</suite>159160161