Home | History | Annotate | Line # | Download | only in unit-tests
opt-ignore.mk revision 1.4
      1  1.4  rillig # $NetBSD: opt-ignore.mk,v 1.4 2020/10/18 18:12:42 rillig Exp $
      2  1.1  rillig #
      3  1.3  rillig # Tests for the -i command line option, which ignores the exit status of the
      4  1.3  rillig # shell commands, and just continues with the next command, even from the same
      5  1.3  rillig # target.
      6  1.3  rillig #
      7  1.3  rillig # Is there a situation in which this option is useful?
      8  1.3  rillig #
      9  1.3  rillig # Why are the "Error code" lines all collected at the bottom of the output
     10  1.3  rillig # file, where they cannot be related to the individual shell commands that
     11  1.3  rillig # failed?
     12  1.3  rillig 
     13  1.4  rillig .MAKEFLAGS: -d0			# switch stdout to being line-buffered
     14  1.4  rillig 
     15  1.3  rillig all: dependency other
     16  1.3  rillig 
     17  1.3  rillig dependency:
     18  1.3  rillig 	@echo dependency 1
     19  1.3  rillig 	@false
     20  1.3  rillig 	@echo dependency 2
     21  1.3  rillig 	@:; exit 7
     22  1.3  rillig 	@echo dependency 3
     23  1.1  rillig 
     24  1.3  rillig other:
     25  1.3  rillig 	@echo other 1
     26  1.3  rillig 	@false
     27  1.3  rillig 	@echo other 2
     28  1.1  rillig 
     29  1.1  rillig all:
     30  1.3  rillig 	@echo main 1
     31  1.3  rillig 	@false
     32  1.3  rillig 	@echo main 2
     33