dsoumis commented on code in PR #970:
URL: https://github.com/apache/tomcat/pull/970#discussion_r3051491788


##########
build.xml:
##########
@@ -2134,6 +2134,30 @@
         </and>
       </or>
     </condition>
+    <echo message="OpenSSL is not available. OpenSSL-related tests will be 
skipped or may fail." level="warning" unless:set="test.openssl.exists"/>
+  </target>
+
+  <target name="test-tcnative-exists" description="Verifies tomcat-native 
library can be loaded"
+    depends="test-compile">
+    <!-- Build library path including both test location and system paths -->
+    <condition property="tcnative.library.path" 
value="${test.apr.loc};C:\Windows\System32">
+      <os family="windows"/>
+    </condition>
+    <condition property="tcnative.library.path" 
value="${test.apr.loc}:/usr/local/lib:/opt/homebrew/lib:/usr/lib">
+      <os family="mac"/>
+    </condition>
+    <property name="tcnative.library.path" 
value="${test.apr.loc}:/lib:/usr/lib:/lib64:/usr/lib64"/>

Review Comment:
   Same replacement applies here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to