Skip to content

Commit

Permalink
Consolidating two thrstatetests
Browse files Browse the repository at this point in the history
This change will consolidate two thrstatetests by updating playlist.xml and nativeTestSettings.mk
Fixes : #21020
Signed-off-by: Denny Chacko Jacob <[email protected]>
  • Loading branch information
dennycjacob committed Feb 11, 2025
1 parent 361ff83 commit 76ecda2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
2 changes: 2 additions & 0 deletions test/functional/NativeTest/nativeTestSettings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

ifeq (8, $(JDK_VERSION))
TEST_JAVA=$(REPORTDIR_NQ)/testJava/jre
THRSTATETEST_JRE_HOME = $(SQ)$(TEST_JDK_HOME)$(D)jre$(D)$(SQ)
ifneq (,$(findstring -64, $(SPEC)))
ZOS_SPEC=s390x
else
Expand All @@ -35,6 +36,7 @@ ifeq (8, $(JDK_VERSION))
LIBJ9IFA29=/jre/lib/$(ZOS_SPEC)/default/libj9ifa29.so
endif
else
THRSTATETEST_JRE_HOME = $(SQ)$(TEST_JDK_HOME)$(D)$(SQ)
TEST_JAVA=$(REPORTDIR_NQ)/testJava
PATH_TO_LIB=$(TEST_JAVA)/lib/j9vm:$(TEST_JAVA)/lib/default:$(TEST_JAVA)/lib
LIBJ9IFA29=/lib/default/libj9ifa29.so
Expand Down
32 changes: 1 addition & 31 deletions test/functional/NativeTest/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<variation>Mode610</variation>
</variations>
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
$(SQ)$(JAVA_SHARED_LIBRARIES_DIR)$(D)thrstatetest$(SQ) $(JVM_OPTIONS) -Djava.home=$(SQ)$(TEST_JDK_HOME)$(D)jre$(D)$(SQ) -Dcom.ibm.tools.attach.enable=no -Dibm.java9.forceCommonCleanerShutdown=true ; \
$(SQ)$(JAVA_SHARED_LIBRARIES_DIR)$(D)thrstatetest$(SQ) $(JVM_OPTIONS) -Djava.home=$(THRSTATETEST_JRE_HOME) -Dcom.ibm.tools.attach.enable=no -Dibm.java9.forceCommonCleanerShutdown=true ; \
$(TEST_STATUS)
</command>
<levels>
Expand All @@ -497,36 +497,6 @@ SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0-only WITH Classpath-ex
<types>
<type>native</type>
</types>
<versions>
<version>8</version>
</versions>
<impls>
<impl>openj9</impl>
<impl>ibm</impl>
</impls>
</test>
<test>
<testCaseName>thrstatetest</testCaseName>
<variations>
<variation>Mode110</variation>
<variation>Mode610</variation>
</variations>
<command>$(ADD_JVM_LIB_DIR_TO_LIBPATH) \
$(SQ)$(JAVA_SHARED_LIBRARIES_DIR)$(D)thrstatetest$(SQ) $(JVM_OPTIONS) -Djava.home=$(SQ)$(TEST_JDK_HOME)$(D)$(SQ) -Dcom.ibm.tools.attach.enable=no -Dibm.java9.forceCommonCleanerShutdown=true ; \
$(TEST_STATUS)
</command>
<levels>
<level>sanity</level>
</levels>
<groups>
<group>functional</group>
</groups>
<types>
<type>native</type>
</types>
<versions>
<version>11+</version>
</versions>
<impls>
<impl>openj9</impl>
<impl>ibm</impl>
Expand Down

0 comments on commit 76ecda2

Please sign in to comment.