Home | History | Annotate | Line # | Download | only in unit-tests
directive-info.mk revision 1.6
      1 # $NetBSD: directive-info.mk,v 1.6 2020/12/13 01:10:22 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		# Accepted before 2020-12-13 01:07:54.
     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 	@:;
     28