From 575f6fa2914cc0d8428c53a6559565fe8c630440 Mon Sep 17 00:00:00 2001 From: Lan Xia Date: Tue, 30 Jan 2024 14:31:13 -0500 Subject: [PATCH] Add OpenJcePlusTests Signed-off-by: Lan Xia --- .gitignore | 3 +- functional/OpenJcePlusTests/build.xml | 117 +++++++++++++++++++++++ functional/OpenJcePlusTests/playlist.xml | 47 +++++++++ 3 files changed, 166 insertions(+), 1 deletion(-) create mode 100644 functional/OpenJcePlusTests/build.xml create mode 100644 functional/OpenJcePlusTests/playlist.xml diff --git a/.gitignore b/.gitignore index e59b55cf66..e4d34b5b22 100755 --- a/.gitignore +++ b/.gitignore @@ -11,11 +11,12 @@ autoGen.mk TestConfig TKG functional +!functional/MBCS_Tests +!functional/OpenJcePlusTests !functional/security !functional/security/AQAvit !functional/security/Crypto !functional/SyntheticGCWorkload -!functional/MBCS_Tests Utils systemtest_prereqs/* diff --git a/functional/OpenJcePlusTests/build.xml b/functional/OpenJcePlusTests/build.xml new file mode 100644 index 0000000000..940596f822 --- /dev/null +++ b/functional/OpenJcePlusTests/build.xml @@ -0,0 +1,117 @@ + + + + + + + + OpenJCEPlus Tests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Ant version is ${ant.version} + ============COMPILER SETTINGS============ + ===fork: yes + ===executable: ${compiler.javac} + ===debug: on + ===destdir: ${DEST} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/functional/OpenJcePlusTests/playlist.xml b/functional/OpenJcePlusTests/playlist.xml new file mode 100644 index 0000000000..a4e587ed44 --- /dev/null +++ b/functional/OpenJcePlusTests/playlist.xml @@ -0,0 +1,47 @@ + + + + + openJcePlusTests + + + only applicable for Semeru atm + eclipse + + + Only applicable on aix, pliunx, xlinux and wins64 atm + ^((?!(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; \ + $(TEST_STATUS) + + extended + + + functional + + + 17 + + + openj9 + + +