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
+ 
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to