apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: apr-util/test Makefile.in
Date Thu, 05 Sep 2002 05:31:19 GMT
aaron       2002/09/04 22:31:19

  Modified:    .        Makefile.in CHANGES
               test     Makefile.in
  Log:
  Running "make check" in the toplevel directory or the test/ directory
  will build and run all test programs.
  
  Revision  Changes    Path
  1.74      +3 -0      apr-util/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/apr-util/Makefile.in,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- Makefile.in	12 Aug 2002 17:30:11 -0000	1.73
  +++ Makefile.in	5 Sep 2002 05:31:19 -0000	1.74
  @@ -105,6 +105,9 @@
   dox:
   	doxygen $(top_srcdir)/docs/doxygen.conf
   
  +check: $(TARGET_LIB)
  +	(cd test && $(MAKE) check)
  +
   
   .PHONY: delete-lib delete-exports
   .NOTPARALLEL: delete-lib delete-exports
  
  
  
  1.76      +3 -0      apr-util/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apr-util/CHANGES,v
  retrieving revision 1.75
  retrieving revision 1.76
  diff -u -r1.75 -r1.76
  --- CHANGES	21 Aug 2002 21:42:41 -0000	1.75
  +++ CHANGES	5 Sep 2002 05:31:19 -0000	1.76
  @@ -1,5 +1,8 @@
   Changes with APR-util b1  
   
  +  *) Running "make check" in the toplevel directory or the test/ directory
  +     will build and run all test programs.  [Aaron Bannert]
  +
     *) Bug #9789 : NDBM support 
        [Toomas Soome <tsoome@muhv.pri.ee>, Ian Holsman]
   
  
  
  
  1.32      +10 -1     apr-util/test/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/apr-util/test/Makefile.in,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- Makefile.in	18 Aug 2002 20:41:08 -0000	1.31
  +++ Makefile.in	5 Sep 2002 05:31:19 -0000	1.32
  @@ -10,7 +10,16 @@
   @INCLUDE_RULES@
   PROGRAM_DEPENDENCIES = @APRUTIL_LDFLAGS@ @APRUTIL_LIBS@
   
  -test: $(PROGRAMS)
  +all: $(PROGRAMS)
  +
  +check: $(PROGRAMS)
  +	for prog in $(PROGRAMS); do \
  +		./$$prog \
  +		if test $$i = 255; then \
  +			echo "$$prog failed"; \
  +			break; \
  +		fi \
  +	done
   
   testdbm_OBJECTS = testdbm.lo
   testdbm_LDADD =  ../libaprutil.la
  
  
  

Mime
View raw message