You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jc...@apache.org on 2017/05/25 21:18:35 UTC
svn commit: r1796204 - /httpd/httpd/branches/httpdunit/Makefile.in
Author: jchampion
Date: Thu May 25 21:18:35 2017
New Revision: 1796204
URL: http://svn.apache.org/viewvc?rev=1796204&view=rev
Log:
httpdunit: simplify test case generation
Look, a legitimate use of cat!
Modified:
httpd/httpd/branches/httpdunit/Makefile.in
Modified: httpd/httpd/branches/httpdunit/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/httpdunit/Makefile.in?rev=1796204&r1=1796203&r2=1796204&view=diff
==============================================================================
--- httpd/httpd/branches/httpdunit/Makefile.in (original)
+++ httpd/httpd/branches/httpdunit/Makefile.in Thu May 25 21:18:35 2017
@@ -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