This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 3ed82dbf17 Support running FFM tests with OpenSSL on MacOS
3ed82dbf17 is described below
commit 3ed82dbf1735fd560eb6ecea6181933511df666f
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jul 30 19:13:10 2024 +0100
Support running FFM tests with OpenSSL on MacOS
---
build.properties.default | 7 +++++++
build.xml | 3 +++
2 files changed, 10 insertions(+)
diff --git a/build.properties.default b/build.properties.default
index 7aa308a004..d04a5f1bbd 100644
--- a/build.properties.default
+++ b/build.properties.default
@@ -81,6 +81,13 @@ test.threads=1
# multicast tests to work
java.net.preferIPv4Stack=false
+# MacOS requires non-default settings to test FFM with OpenSSL. Eg:
+#openssl.ffm.1=-Dorg.apache.tomcat.util.openssl.USE_SYSTEM_LOAD_LIBRARY=true
+#openssl.ffm.2=-Dorg.apache.tomcat.util.openssl.LIBRARY_NAME=ssl
+openssl.ffm.1=-DNoop1
+openssl.ffm.2=-DNoop2
+
+
# ----- Release build settings -----
# Location of GPG executable
gpg.exec=/path/to/gpg
diff --git a/build.xml b/build.xml
index c342e40495..2ffb73d45b 100644
--- a/build.xml
+++ b/build.xml
@@ -2071,6 +2071,9 @@
<jvmarg value="${opens.javautil}"/>
<jvmarg value="${opens.javautilconcurrent}"/>
<jvmarg value="${native.nativeaccess}"/>
+ <!-- These are managed as jvmargs rather than sysproperty because
the default varies by OS -->
+ <jvmarg value="${openssl.ffm.1}" />
+ <jvmarg value="${openssl.ffm.2}" />
<classpath refid="tomcat.test.classpath" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]