]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/directive-info.mk
Merge bmake-20201117
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / directive-info.mk
1 # $NetBSD: directive-info.mk,v 1.4 2020/11/15 11:57:00 rillig Exp $
2 #
3 # Tests for the .info directive.
4
5 # TODO: Implementation
6
7 .info begin .info tests
8 .inf                            # misspelled
9 .info                           # oops: message should be "missing parameter"
10 .info message
11 .info           indented message
12 .information
13 .information message            # oops: misspelled
14 .info.man:                      # not a message, but possibly a suffix rule
15
16 # Even if lines would have trailing whitespace, this would be trimmed by
17 # ParseGetLine.
18 .info
19 .info                           # comment
20
21 .info: message                  # This is a dependency declaration.
22 .info-message                   # This is an unknown directive.
23 .info no-target: no-source      # This is a .info directive, not a dependency.
24 # See directive.mk for more tests of this kind.
25
26 all:
27         @:;