[master] 276bcd7e5 Don't overload automake boilerplate placeholders

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Apr 14 15:13:06 UTC 2020


commit 276bcd7e547047d184bbe688f3601ff0b9de1fd8
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Apr 14 17:00:09 2020 +0200

    Don't overload automake boilerplate placeholders
    
    Even when they live in different templates.

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 85fd69f96..0b674a309 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -89,7 +89,7 @@ CLEANFILES = $(builddir)/PFX.c $(builddir)/PFX.h \\
 
 AMBOILERPLATE_CHECK = '''
 TESTS = \\
-\tXXX
+\tVTC
 
 EXTRA_DIST += $(TESTS)
 
@@ -991,7 +991,7 @@ class vcc(object):
         tests = glob.glob("tests/*.vtc")
         if len(tests) > 0:
             tests.sort()
-            fo.write(AMBOILERPLATE_CHECK.replace("XXX", " \\\n\t".join(tests)))
+            fo.write(AMBOILERPLATE_CHECK.replace("VTC", " \\\n\t".join(tests)))
         fo.close()
 
     def mkdefs(self, fo):


More information about the varnish-commit mailing list