Path: blob/master/test/functional/cmdLineTests/shareClassTests/ShareClassesSimpleSanity/ShareClassesSimpleSanity.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no"?>12<!--3Copyright (c) 2008, 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<!-- #### RUN TokenHelperTests SUITE #### -->27<suite id="Shared Classes CommandLineOptionTests Suite">2829<!-- Our test modes for this suite -->30<variable name="mode204" value="-Xshareclasses:name=HelloWorldSanity"/>3132<!-- Set variables up -->33<variable name="JAVAC_DIR" value="$TEST_JDK_HOME$/bin"/>34<variable name="UTILS_JAR" value="$UTILS_DIR$/utils.jar"/>3536<variable name="currentMode" value="$mode204$"/>37<if testVariable="SCMODE" testValue="204" resultVariable="currentMode" resultValue="$mode204$"/>3839<echo value=" "/>40<echo value="#######################################################"/>41<echo value="Running tests in mode $SCMODE$ with command line options: $currentMode$"/>42<echo value="#######################################################"/>43<echo value=" "/>4445<!-- Run HelperCompatibilityTests -->4647<test id="Simple Sanity Initial Cleanup" timeout="600" runPath=".">48<command>$JAVA_EXE$ $currentMode$,destroy</command>49<output type="success" caseSensitive="yes" regex="no">Cache does not exist</output>50<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>51<output type="success" caseSensitive="yes" regex="no">is destroyed</output>52<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>53<output type="failure" caseSensitive="yes" regex="no">Exception:</output>54</test>555657<test id="Simple Sanity Run and Build Cache" timeout="600" runPath=".">58<command>$JAVA_EXE$ $currentMode$ -cp $UTILS_JAR$ VMBench.FibBench</command>59<output type="success" caseSensitive="yes" regex="no">Fibonacci: iterations = 10000</output>60<output type="failure" caseSensitive="yes" regex="no">Error:</output>61<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>62<output type="failure" caseSensitive="yes" regex="no">Exception:</output>63</test>6465<test id="Simple Sanity Run and Use Cache" timeout="600" runPath=".">66<command>$JAVA_EXE$ $currentMode$ -cp $UTILS_JAR$ VMBench.FibBench</command>67<output type="success" caseSensitive="yes" regex="no">Fibonacci: iterations = 10000</output>68<output type="failure" caseSensitive="yes" regex="no">Error:</output>69<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>70<output type="failure" caseSensitive="yes" regex="no">Exception:</output>71</test>7273<test id="Simple Sanity End Cleanup" timeout="600" runPath=".">74<command>$JAVA_EXE$ $currentMode$,destroy</command>75<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>76<output type="success" caseSensitive="yes" regex="no">is destroyed</output>77<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>78<output type="failure" caseSensitive="yes" regex="no">Exception:</output>79</test>8081<!-- CMVC 160662 : The next 4 tests use to crash when ROMClass builder used local strings to build shared classes -->8283<test id="CMVC 160662 : Cleanup" timeout="600" runPath=".">84<command>$JAVA_EXE$ $currentMode$,destroy</command>85<output type="success" caseSensitive="yes" regex="no">Cache does not exist</output>86<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>87<output type="success" caseSensitive="yes" regex="no">is destroyed</output>88<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>89<output type="failure" caseSensitive="yes" regex="no">Exception:</output>90</test>919293<test id="CMVC 160662 :Build a cache with no boot path classes" timeout="600" runPath=".">94<command>$JAVA_EXE$ $currentMode$,noBootclasspath -cp $UTILS_JAR$ VMBench.FibBench</command>95<output type="success" caseSensitive="yes" regex="no">Fibonacci: iterations = 10000</output>96<output type="failure" caseSensitive="yes" regex="no">Error:</output>97<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>98<output type="failure" caseSensitive="yes" regex="no">Exception:</output>99</test>100101<test id="CMVC 160662 :Use a cache with no boot path classes" timeout="600" runPath=".">102<command>$JAVA_EXE$ $currentMode$,noBootclasspath -cp $UTILS_JAR$ VMBench.FibBench</command>103<output type="success" caseSensitive="yes" regex="no">Fibonacci: iterations = 10000</output>104<output type="failure" caseSensitive="yes" regex="no">Error:</output>105<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>106<output type="failure" caseSensitive="yes" regex="no">Exception:</output>107</test>108109<test id="CMVC 160662 : Cleanup" timeout="600" runPath=".">110<command>$JAVA_EXE$ $currentMode$,destroy</command>111<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>112<output type="success" caseSensitive="yes" regex="no">is destroyed</output>113<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>114<output type="failure" caseSensitive="yes" regex="no">Exception:</output>115</test>116117118</suite>119120