Skip to content

Commit

Permalink
Change generated core files des to reportdir
Browse files Browse the repository at this point in the history
This is to change the directory of core files to the correct one

Related to issue: adoptium#5373

Signed-off-by: sophiaxu0424 <xuminghong0424@gmail.com>
  • Loading branch information
sophiaxu0424 committed Jun 20, 2024
1 parent 3dba824 commit c359b07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion functional/OpenJcePlusTests/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
<platform>^((?!(ppc64_aix|ppc64le_linux|x86-64_linux|x86-64_windows|s390x_linux)).)*$</platform>
</disable>
</disables>
<command>ant -f ${BUILD_ROOT}/functional/OpenJcePlusTests/test.xml -DTEST_JAVA=$(Q)$(JAVA_COMMAND)$(Q) launch_test; \
<command> mkdir -p ${REPORTDIR} \
cd ${REPORTDIR} \
cp -r ${TEST_RESROOT}/../../functional/OpenJcePlusTests/test.xml ${REPORTDIR} \
ant -f test.xml -DTEST_JAVA=$(Q)$(JAVA_COMMAND)$(Q) launch_test; \
$(TEST_STATUS)</command>
<levels>
<level>extended</level>
Expand Down
4 changes: 4 additions & 0 deletions functional/OpenJcePlusTests/test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
-->

<project name="Launcher script for OpenJcePlusTests" default="help" basedir=".">
<property name="REPORTDIR" value="${REPORTDIR}" />
<property name="dump.name" value="JCE.J9CORE.DMP" />
<property name="system.dump" value="${REPORTDIR}/${dump.name}" />
<target name="help">
<echo>Ant script to run the tests for ibm.jceplus.junit.TestMemStressAll,
ibm.jceplus.junit.TestMultiThread,
Expand All @@ -26,6 +29,7 @@
<target name="launch_test">
<echo message="Running ibm.jceplus.junit.TestMemStressAll, ibm.jceplus.junit.TestMultiThread, ibm.jceplus.junit.TestMultithreadFIP and ibm.jceplus.junit.TestAll in ${user.dir}" />
<mkdir dir="junitreports" />
<mkdir dir=${REPORTDIR} />
<java jvm="${TEST_JAVA}"
classname="org.apache.tools.ant.launch.Launcher"
fork="true"
Expand Down

0 comments on commit c359b07

Please sign in to comment.