chiark / gitweb /
doctests: Test in sub/dir too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 25 Dec 2019 15:43:38 +0000 (15:43 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 28 Dec 2019 22:19:08 +0000 (22:19 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/filter/main.mk.expected
tests/filter/sub/dir/Subdir.mk.expected
tests/filter/sub/dir/Subdir.sd.mk

index 110c608..33dfe34 100644 (file)
@@ -9,4 +9,5 @@ SUBDIRMK_MAKEFILES += sub/dir/Subdir.mk
 MAKEFILE_TEMPLATES += ./Subdir.sd.mk
 MAKEFILE_TEMPLATES += ./doctest.sd.mk
 MAKEFILE_TEMPLATES += ./sub/dir/Subdir.sd.mk
+MAKEFILE_TEMPLATES += ./sub/dir/doctest.sd.mk
 include $(SUBDIRMK_MAKEFILES)
index b0da72c..9f7cb70 100644 (file)
@@ -1,5 +1,6 @@
 # autogenerated - do not edit
-#
+# subdirectory test cases
+# doctests:
 
 sub/dir/all:: $(sub_dir_TARGETS)
 .PHONY: sub/dir/all
index 792d600..f06ea99 100644 (file)
@@ -1 +1,3 @@
-#
+# subdirectory test cases
+# doctests:
+&:include &doctest.sd.mk