summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJacob Champion <jchampion@apache.org>2017-05-25 21:18:35 +0000
committerJacob Champion <jchampion@apache.org>2017-05-25 21:18:35 +0000
commitac43c825397c9bde5b61bddb06e0201089f1dbf8 (patch)
tree748fa8385462ff3a1ea446d8fd1e0e94599a90e2 /Makefile.in
parenta4308d4c64e365feacb95951aff300ad1db1af10 (diff)
downloadhttpd-ac43c825397c9bde5b61bddb06e0201089f1dbf8.tar.gz
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
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 2 insertions, 6 deletions
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