Skip to content

Commit

Permalink
Merge pull request #14051 from LongyuZhang/gc3
Browse files Browse the repository at this point in the history
Fix GCCheck class not found error
  • Loading branch information
llxia committed Dec 2, 2021
2 parents 7d365bc + 8aa113e commit 376e221
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/functional/cmdLineTests/gcCheck/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<!-- set properties for this build -->
<property name="DEST" value="${BUILD_ROOT}/functional/cmdLineTests/gcCheck" />
<property name="src" location="./src"/>
<property name="allocator" location="${TEST_ROOT}/functional/Java8andUp/src/org/openj9/test/nogc"/>
<property name="build" location="./bin"/>

<target name="init">
Expand All @@ -49,7 +48,9 @@
<echo>===destdir: ${DEST}</echo>
<javac destdir="${build}" debug="true" fork="true" executable="${compiler.javac}" includeAntRuntime="false" encoding="ISO-8859-1">
<src path="${src}" />
<include name="${TEST_ROOT}/functional/Java8andUp/src/org/openj9/test/nogc/Allocator.java"/>
<src path="${TEST_ROOT}/functional/Java8andUp/src" />
<include name="org/openj9/test/nogc/Allocator.java" />
<include name="org/openj9/test/nogc/Main.java" />
</javac>
</target>

Expand Down
1 change: 1 addition & 0 deletions test/functional/cmdLineTests/gcCheck/gcchecktests.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<exec command="rm -f $DUMPFILE$" />
<command>$EXE$ -Xmx256m $CP$ $XDUMP$ $PROGRAM$</command>
<output regex="no" type="success">System dump written</output>
<output regex="no" type="required">GCCheck Main class executed successfully</output>
</test>

<test id="Run gccheck">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ public static void main(String args[]) throws Exception {
e.printStackTrace();
}
}

System.out.println("GCCheck Main class executed successfully");
}
}

0 comments on commit 376e221

Please sign in to comment.