new target for contrib/Makefile - Mailing list pgsql-patches

From Andrew Dunstan
Subject new target for contrib/Makefile
Date
Msg-id 415ACC8B.7030606@dunslane.net
Whole thread Raw
Responses Re: new target for contrib/Makefile  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
If you run make installcheck in contrib it stops on the first module
that fails. This is mildly annoying from the point of view of the
buildfarm script, which wants to run all the available regression tests.
To solve that I implemented a new target that does run them all and only
fails at the end if any have failed. The patch is attached for your
delectation.

cheers

andrew


Index: contrib/Makefile
===================================================================
RCS file: /home/cvsmirror/pgsql-server/contrib/Makefile,v
retrieving revision 1.51
diff -c -w -r1.51 Makefile
*** contrib/Makefile    16 Sep 2004 21:20:19 -0000    1.51
--- contrib/Makefile    29 Sep 2004 14:30:03 -0000
***************
*** 61,63 ****
--- 61,69 ----
      @for dir in $(WANTED_DIRS); do \
          $(MAKE) -C $$dir $@ || exit; \
      done
+
+ installcheck-all:
+     @CHECKERR=0; for dir in $(WANTED_DIRS); do \
+         $(MAKE) -C $$dir installcheck || CHECKERR=$$?; \
+     done; exit $$CHECKERR
+

pgsql-patches by date:

Previous
From: eetemadi@ce.sharif.edu
Date:
Subject: Calendars support in postgresql
Next
From: "Magnus Hagander"
Date:
Subject: Re: [HACKERS] Win32 Version numbering patch