From ac43c825397c9bde5b61bddb06e0201089f1dbf8 Mon Sep 17 00:00:00 2001 From: Jacob Champion Date: Thu, 25 May 2017 21:18:35 +0000 Subject: httpdunit: simplify test case generation Look, a legitimate use of cat! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/httpdunit@1796204 13f79535-47bb-0310-9956-ffa450edef68 --- Makefile.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 9bba3ac080..42f2791983 100644 --- a/Makefile.in +++ b/Makefile.in @@ -455,12 +455,8 @@ $(testcase_STUBS): %.tests: %.c $(top_srcdir)/build/httpdunit_gen_stubs.pl < "$<" > "$@" test/httpdunit.cases: $(testcase_SOURCES) | unittest-objdir - for t in $^; do \ - $(top_srcdir)/build/httpdunit_gen_cases.pl --declaration < "$$t"; \ - done > $@ - for t in $^; do \ - $(top_srcdir)/build/httpdunit_gen_cases.pl < "$$t"; \ - done >> $@ + cat $^ | $(top_srcdir)/build/httpdunit_gen_cases.pl --declaration > $@ + cat $^ | $(top_srcdir)/build/httpdunit_gen_cases.pl >> $@ test/httpdunit.lo: test/httpdunit.c test/httpdunit.cases | unittest-objdir -- cgit v1.2.1