svn commit: r1935476 - apr/apr/trunk/test
[email protected] Thu, 18 Jun 2026 15:41:30 -0000
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <178179729094.3025500.7311099904180208867@svn03-he-fi> |
Author: brane Date: Thu Jun 18 15:41:30 2026 New Revision: 1935476 Log: In the test makefile, compute the shared library path only once, using absolute paths, and display the result before running the tests. Modified: apr/apr/trunk/test/Makefile.in Modified: apr/apr/trunk/test/Makefile.in ============================================================================== --- apr/apr/trunk/test/Makefile.in Thu Jun 18 14:23:31 2026 (r1935475) +++ apr/apr/trunk/test/Makefile.in Thu Jun 18 15:41:30 2026 (r1935476) @@ -184,11 +184,14 @@ dbd@EXEEXT@: $(OBJECTS_dbd) check: $(TESTALL_COMPONENTS) $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE) teststatus=0; \ progfailed=""; \ + shlibdirs="`cd ../dbm/.libs && pwd`:`cd ../dbm/.libs && pwd`"; \ + shlibpath="`echo "$$shlibdirs:$$@shlibpath_var@" | sed -e 's/::*$$//'`"; \ + echo "@shlibpath_var@=$$shlibpath"; \ for prog in $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE); do \ - if test "$$prog" = 'dbd@EXEEXT@'; then \ + if test "$$prog" = 'dbd@EXEEXT@'; then \ for driver in none @apu_dbd_tests@; do \ if test "$$driver" != 'none'; then \ - @shlibpath_var@="`echo "../dbm/.libs:../dbd/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`" \ + @shlibpath_var@="$$shlibpath" \ ./$$prog $$driver; \ status=$$?; \ if test $$status != 0; then \ @@ -199,7 +202,7 @@ check: $(TESTALL_COMPONENTS) $(STDTEST_P done; \ elif test "$$prog" = 'sendfile@EXEEXT@'; then \ for mode in blocking nonblocking timeout; do \ - @shlibpath_var@="`echo "../dbm/.libs:../dbd/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`" \ + @shlibpath_var@="$$shlibpath" \ ./$$prog client $$mode startserver 127.0.0.1; \ status=$$?; \ if test $$status != 0; then \ @@ -207,8 +210,8 @@ check: $(TESTALL_COMPONENTS) $(STDTEST_P progfailed="$$progfailed '$$prog mode $$mode'"; \ fi; \ done; \ - else \ - @shlibpath_var@="`echo "../dbm/.libs:../dbd/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`" \ + else \ + @shlibpath_var@="$$shlibpath" \ ./$$prog -v; \ status=$$?; \ if test $$status != 0; then \