On Wed, 11 Nov 2026 11:47:50 GMT, Richard Reingruber <[email protected]> wrote:

> This pr addresses the 2 issues from the bug report.
> 
> #### Issue 1: gtestLauncher cannot load libjvm.so
> 
> The aix linker does not support $ORIGIN in RPATH.
> Fix: prepend images/test/hotspot/gtest/server/ to LIBPATH when testing on aix.
> 
> Example test-support/.../gtest.cmdline (added 2 line breaks)
> 
> 
> cd /mybuild/test-support/gtest_LogTagSet_server && \    
>     LIBPATH=/mybuild/images/test/hotspot/gtest/server:$LIBPATH \    
>     /mybuild/images/test/hotspot/gtest/server/gtestLauncher -jdk 
> /mybuild/images/jdk --gtest_filter=LogTagSet* 
> --gtest_output=xml:/mybuild/test-results/gtest_LogTagSet_server/gtest.xml 
> --gtest_catch_exceptions=0 > >(/opt/freeware/bin/tee 
> /mybuild/test-results/gtest_LogTagSet_server/gtest.txt) && echo $? > 
> /mybuild/test-results/gtest_LogTagSet_server/exitcode.txt || echo $? > 
> /mybuild/test-results/gtest_LogTagSet_server/exitcode.txt
> 
> 
> #### Issue 2: the nawk regexp parser cannot parse '/='
> 
> Fix: escape the '=' character with a backslash.
> 
> **Tested** on aix (nawk) and linux (gawk) with and also without gtest 
> failures.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Thanks for reviewing and testing!
I retried the tests again without success. The problem doesn't seem related 
though.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/33842#issuecomment-6846260430

Reply via email to