You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2021/05/01 23:08:51 UTC
[tomee-tck] 01/02: Setup to get the signature tests running
This is an automated email from the ASF dual-hosted git repository.
jgallimore pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
commit 8a0a934d17e0a1b67ad1b37ee8a2dfdb0fd5580f
Author: Jonathan Gallimore <jo...@jrg.me.uk>
AuthorDate: Sat May 1 23:17:40 2021 +0100
Setup to get the signature tests running
---
src/test/resources/testsuite.properties | 4 +++-
src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 2 ++
src/test/script/openejb/tck/commands/SetupCommand.groovy | 3 +++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/test/resources/testsuite.properties b/src/test/resources/testsuite.properties
index e6382f0..53a647b 100644
--- a/src/test/resources/testsuite.properties
+++ b/src/test/resources/testsuite.properties
@@ -50,6 +50,7 @@ command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd \
-Ddeliverable.class=${deliverable.class} \
-Dopenejb.validation.output.level=3 \
-Djava.security.egd=file:/dev/./urandom \
+ -Dbin.dir=%bin_dir% \
$testExecuteClass \
$testExecuteArgs
@@ -240,4 +241,5 @@ provider.configuration.file=%basedir%/%openejb.home%/conf/ProviderConfiguration.
j2eelogin.name=j2ee
j2eelogin.password=j2ee
servlet.is.jsr115.compatible=false
-logical.hostname.servlet=Catalina/localhost
\ No newline at end of file
+logical.hostname.servlet=Catalina/localhost
+bin.dir=%bin_dir%
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index 16f6f55..db01a0d 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -341,6 +341,8 @@ class JavaTestCommand
sysproperty(key: "SYSTEMROOT", value: System.getenv('SystemRoot'))
}
+ sysproperty(key: "bin.dir", value: "${javaeeCtsHome}/bin")
+
// Include system properties
arg(value: "-EsysProps")
diff --git a/src/test/script/openejb/tck/commands/SetupCommand.groovy b/src/test/script/openejb/tck/commands/SetupCommand.groovy
index 87c03b4..9370b87 100644
--- a/src/test/script/openejb/tck/commands/SetupCommand.groovy
+++ b/src/test/script/openejb/tck/commands/SetupCommand.groovy
@@ -79,6 +79,9 @@ class SetupCommand
map['javaee.level'] = 'web'
}
+ log.info("Setting bin.dir to " + javaeeCtsHome.getAbsolutePath() + "/bin")
+ map['bin_dir'] = javaeeCtsHome.getAbsolutePath() + "/bin"
+
// map['servlet_adaptor'] = 'org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet'
map['servlet_adaptor'] = 'org.apache.openejb.server.rest.OpenEJBRestServlet'
map['jaxrs_impl_name'] = 'cxf'