Module Name:    src
Committed By:   rillig
Date:           Wed Oct 21 08:18:24 UTC 2020

Modified Files:
        src/usr.bin/make/unit-tests: suff-add-later.exp suff-add-later.mk

Log Message:
make(1): enable suffix log for test suff-add-later.mk

The log shows that only some of the transformations are actually
defined.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/suff-add-later.exp \
    src/usr.bin/make/unit-tests/suff-add-later.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/suff-add-later.exp
diff -u src/usr.bin/make/unit-tests/suff-add-later.exp:1.1 src/usr.bin/make/unit-tests/suff-add-later.exp:1.2
--- src/usr.bin/make/unit-tests/suff-add-later.exp:1.1	Tue Oct 20 20:36:53 2020
+++ src/usr.bin/make/unit-tests/suff-add-later.exp	Wed Oct 21 08:18:24 2020
@@ -1,3 +1,9 @@
+defining transformation from `.c' to `.d'
+inserting ".c" (1) at end of list
+inserting ".d" (2) at end of list
+defining transformation from `.d' to `.e'
+inserting ".d" (2) at end of list
+inserting ".e" (3) at end of list
 : 'Making issue5a.c out of nothing.'
 make: don't know how to make issue5a.d (continuing)
 make: don't know how to make issue5b.c (continuing)
Index: src/usr.bin/make/unit-tests/suff-add-later.mk
diff -u src/usr.bin/make/unit-tests/suff-add-later.mk:1.1 src/usr.bin/make/unit-tests/suff-add-later.mk:1.2
--- src/usr.bin/make/unit-tests/suff-add-later.mk:1.1	Tue Oct 20 20:36:53 2020
+++ src/usr.bin/make/unit-tests/suff-add-later.mk	Wed Oct 21 08:18:24 2020
@@ -1,8 +1,10 @@
-# $NetBSD: suff-add-later.mk,v 1.1 2020/10/20 20:36:53 rillig Exp $
+# $NetBSD: suff-add-later.mk,v 1.2 2020/10/21 08:18:24 rillig Exp $
 #
 # https://gnats.netbsd.org/49086, issue 5:
 # Adding more suffixes does not turn existing rules into suffix rules.
 
+.MAKEFLAGS: -ds
+
 all: issue5a.d issue5b.c issue5c issue5d.e issue5e.d
 
 .SUFFIXES: .c
@@ -29,3 +31,4 @@ issue5a.c issue5b.d issue5c.d issue5d.d 
 # XXX: don't know how to make issue5a.d (even though .c.d is a transformation
 # rule and issue5a.c can be readily made)
 #.MAKEFLAGS: -dg1
+.MAKEFLAGS: -d0

Reply via email to