httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject RE: [PATCH] library/t/Makefile.am (all as one)
Date Fri, 15 Apr 2005 06:02:03 GMT
Hi,

* Don't delete source files in make clean
* There are no .t files in this dir so that make rule isn't needed
* Actually run test scripts for make test

[
Sorry for the seperate patches before I wasn't expecting all of them :)
]

Index: Makefile.am
===================================================================
--- Makefile.am (revision 161407)
+++ Makefile.am (working copy)
@@ -6,14 +6,10 @@
  check_PROGRAMS = version cookie params parsers error util
  LDADD  = libapache_test.a

-check_SCRIPTS = version.t cookie.t params.t parsers.t error.t util.t
-TESTS = $(check_SCRIPTS)
+check_SCRIPTS = version.c cookie.c params.c parsers.c error.c .cil.c
+TESTS = $(check_PROGRAMS)
  TESTS_ENVIRONMENT = @PERL@ -MTest::Harness -e 'runtests(@ARGV)'
-CLEANFILES = $(check_SCRIPTS)
+CLEANFILES = $(check_PROGRAMS)

-%.t: %
-       echo "#!perl" > $@
-       echo "exec './$*'" >> $@
-
-test: $(check_SCRIPTS)
-       $(TESTS_ENVIRONMENT) $(check_SCRIPTS)
+test: $(check_PROGRAMS)
+       $(TESTS_ENVIRONMENT) $(check_PROGRAMS)

-- 
END
------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
	http://www.liquidityservicesinc.com

Mime
View raw message