From: Jacob Champion Date: Thu, 25 May 2017 21:18:35 +0000 (+0000) Subject: httpdunit: simplify test case generation X-Git-Tag: 2.5.0-alpha~367^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac43c825397c9bde5b61bddb06e0201089f1dbf8;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/Makefile.in b/Makefile.in index 9bba3ac0803..42f2791983c 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