Tue Jul 28 19:19:30 2020 UTC ()
make(1): add test about possibly ambiguous suffix rule


(rillig)
diff -r1.3 -r1.4 src/usr.bin/make/unit-tests/directives.mk

cvs diff -r1.3 -r1.4 src/usr.bin/make/unit-tests/Attic/directives.mk (expand / switch to unified diff)

--- src/usr.bin/make/unit-tests/Attic/directives.mk 2020/07/28 18:25:33 1.3
+++ src/usr.bin/make/unit-tests/Attic/directives.mk 2020/07/28 19:19:30 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: directives.mk,v 1.3 2020/07/28 18:25:33 rillig Exp $ 1# $NetBSD: directives.mk,v 1.4 2020/07/28 19:19:30 rillig Exp $
2# 2#
3# Tests for parsing directives, in the same order as in the manual page. 3# Tests for parsing directives, in the same order as in the manual page.
4# 4#
5# Each test group has 10 lines, to keep the line numbers in directives.exp 5# Each test group has 10 lines, to keep the line numbers in directives.exp
6# stable. 6# stable.
7# 7#
8# no tests for .error since it exits immediately, see ParseMessage. 8# no tests for .error since it exits immediately, see ParseMessage.
9 9
10.info begin .export tests 10.info begin .export tests
11.expor # misspelled 11.expor # misspelled
12.export # oops: missing argument 12.export # oops: missing argument
13.export VARNAME 13.export VARNAME
14.exporting works # oops: misspelled 14.exporting works # oops: misspelled
@@ -34,27 +34,27 @@ @@ -34,27 +34,27 @@
34.export-literally # oops: misspelled 34.export-literally # oops: misspelled
35 35
36 36
37 37
38 38
39 39
40.info begin .info tests 40.info begin .info tests
41.inf # misspelled 41.inf # misspelled
42.info # oops: message should be "missing parameter" 42.info # oops: message should be "missing parameter"
43.info message 43.info message
44.info indented message 44.info indented message
45.information 45.information
46.information message # oops: misspelled 46.information message # oops: misspelled
47 47.info.man: # not a message, but a suffix rule
48 48
49 49
50.info begin .undef tests 50.info begin .undef tests
51.unde # misspelled 51.unde # misspelled
52.undef # oops: missing argument 52.undef # oops: missing argument
53.undefined # oops: misspelled 53.undefined # oops: misspelled
54.undef VARNAME 54.undef VARNAME
55 55
56 56
57 57
58 58
59 59
60.info begin .unexport tests 60.info begin .unexport tests