You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-dev@httpd.apache.org by "Philip M. Gollucci" <pg...@p6m7g8.com> on 2005/04/15 08:02:03 UTC
RE: [PATCH] library/t/Makefile.am (all as one)
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