You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2013/09/17 01:27:58 UTC
svn commit: r1523844 - /apr/apr/trunk/test/Makefile.in
Author: trawick
Date: Mon Sep 16 23:27:57 2013
New Revision: 1523844
URL: http://svn.apache.org/r1523844
Log:
run the sendfile test automatically
Modified:
apr/apr/trunk/test/Makefile.in
Modified: apr/apr/trunk/test/Makefile.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/Makefile.in?rev=1523844&r1=1523843&r2=1523844&view=diff
==============================================================================
--- apr/apr/trunk/test/Makefile.in (original)
+++ apr/apr/trunk/test/Makefile.in Mon Sep 16 23:27:57 2013
@@ -9,7 +9,7 @@ VPATH = @srcdir@
# STDTEST_NONPORTABLE
# test programs invoked via standard user interface, not portable
# OTHER_PROGRAMS
-# programs such as sendfile, that have to be invoked in a special sequence
+# programs such as sockperf, that have to be invoked in a special sequence
# or with special parameters
# TESTALL_COMPONENTS
# programs such as globalmutexchild which the various TESTS will invoke
@@ -20,6 +20,7 @@ STDTEST_PORTABLE = \
testmutexscope@EXEEXT@ \
testall@EXEEXT@ \
dbd@EXEEXT@ \
+ sendfile@EXEEXT@ \
TESTS = testtime.lo teststr.lo testvsn.lo testipsub.lo testshm.lo \
testmmap.lo testud.lo testtable.lo testsleep.lo testpools.lo \
@@ -38,7 +39,6 @@ TESTS = testtime.lo teststr.lo testvsn.l
testlfsabi32.lo testlfsabi64.lo testescape.lo
OTHER_PROGRAMS = \
- sendfile@EXEEXT@ \
echod@EXEEXT@ \
sockperf@EXEEXT@
@@ -185,6 +185,16 @@ check: $(TESTALL_COMPONENTS) $(STDTEST_P
fi; \
fi; \
done; \
+ elif test "$$prog" = 'sendfile'; then \
+ for mode in blocking nonblocking timeout; do \
+ @shlibpath_var@="`echo "../dbm/.libs:../dbd/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`" \
+ ./$$prog client $$mode startserver 127.0.0.1; \
+ status=$$?; \
+ if test $$status != 0; then \
+ teststatus=$$status; \
+ progfailed="$$progfailed '$$prog mode $$mode'"; \
+ fi; \
+ done; \
else \
@shlibpath_var@="`echo "../dbm/.libs:../dbd/.libs:$$@shlibpath_var@" | sed -e 's/::*$$//'`" \
./$$prog -v; \