Home | History | Annotate | Line # | Download | only in unit-tests
parse.mk revision 1.3
      1  1.3  rillig # $NetBSD: parse.mk,v 1.3 2022/07/24 20:25:23 rillig Exp $
      2  1.1  rillig #
      3  1.1  rillig # Test those parts of the parsing that do not belong in any of the other
      4  1.1  rillig # categories.
      5  1.1  rillig 
      6  1.1  rillig # expect+1: Makefile appears to contain unresolved CVS/RCS/??? merge conflicts
      7  1.1  rillig <<<<<< old
      8  1.2  rillig 
      9  1.2  rillig # No diagnostic since the following line is parsed as a variable assignment,
     10  1.2  rillig # even though the variable name is empty.  See also varname-empty.mk.
     11  1.2  rillig ====== middle
     12  1.2  rillig 
     13  1.2  rillig # expect+1: Makefile appears to contain unresolved CVS/RCS/??? merge conflicts
     14  1.2  rillig >>>>>> new
     15  1.3  rillig 
     16  1.3  rillig 
     17  1.3  rillig # Since parse.c 1.578 from 2021-12-14 and before parse.c 1.681 from
     18  1.3  rillig # 2022-07-24, if a line of a makefile could only be a dependency specification
     19  1.3  rillig # but didn't contain any of the dependency operators ':', '!', '::' and its
     20  1.3  rillig # expansion ended with a space, make read a single byte from the memory beyond
     21  1.3  rillig # the expanded line's terminating '\0'.
     22  1.3  rillig #
     23  1.3  rillig # https://bugs.freebsd.org/265119
     24  1.3  rillig one-target ${:U }
     25