From 9691d589d99769f2ce17feb65def69640e72621b Mon Sep 17 00:00:00 2001 From: Lan Xia Date: Mon, 5 Feb 2024 17:15:03 -0500 Subject: [PATCH] Generate junit xml in OpenJcePlusTests (#5036) Signed-off-by: Lan Xia --- functional/OpenJcePlusTests/build.xml | 3 ++ functional/OpenJcePlusTests/playlist.xml | 6 +-- functional/OpenJcePlusTests/test.xml | 58 ++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 5 deletions(-) create mode 100644 functional/OpenJcePlusTests/test.xml diff --git a/functional/OpenJcePlusTests/build.xml b/functional/OpenJcePlusTests/build.xml index 940596f822..b48a4f46b6 100644 --- a/functional/OpenJcePlusTests/build.xml +++ b/functional/OpenJcePlusTests/build.xml @@ -84,6 +84,9 @@ + + + diff --git a/functional/OpenJcePlusTests/playlist.xml b/functional/OpenJcePlusTests/playlist.xml index a4e587ed44..20f3001711 100644 --- a/functional/OpenJcePlusTests/playlist.xml +++ b/functional/OpenJcePlusTests/playlist.xml @@ -25,11 +25,7 @@ ^((?!(ppc64_aix|ppc64le_linux|x86-64_linux|x86-64_windows)).)*$ - $(JAVA_COMMAND) $(JVM_OPTIONS) \ - -cp $(Q)$(LIB_DIR)$(D)junit4.jar$(P)$(LIB_DIR)$(D)hamcrest-core.jar$(P)$(LIB_DIR)$(D)bcprov-jdk18on.jar$(P)$(TEST_RESROOT)$(D)openjceplus-tests.jar$(Q) \ - --add-exports=java.base/sun.security.util=ALL-UNNAMED \ - --add-exports=openjceplus/com.ibm.crypto.plus.provider.ock=ALL-UNNAMED \ - ibm.jceplus.junit.TestAll; \ + ant -f ${BUILD_ROOT}/functional/OpenJcePlusTests/test.xml -DTEST_JAVA=$(Q)$(JAVA_COMMAND)$(Q) launch_test; \ $(TEST_STATUS) extended diff --git a/functional/OpenJcePlusTests/test.xml b/functional/OpenJcePlusTests/test.xml new file mode 100644 index 0000000000..ea60f40287 --- /dev/null +++ b/functional/OpenJcePlusTests/test.xml @@ -0,0 +1,58 @@ + + + + + + + Ant script to run the tests for ibm.jceplus.junit.TestAll. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +