httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jchamp...@apache.org
Subject svn commit: r1796204 - /httpd/httpd/branches/httpdunit/Makefile.in
Date Thu, 25 May 2017 21:18:35 GMT
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
 



Mime
View raw message