Home | History | Annotate | Line # | Download | only in unit-tests
      1  1.3  rillig # $NetBSD: deptgt-notparallel.mk,v 1.3 2021/12/13 23:38:54 rillig Exp $
      2  1.1  rillig #
      3  1.3  rillig # Tests for the special target .NOTPARALLEL in dependency declarations, which
      4  1.3  rillig # prevents the job module from doing anything in parallel, by setting the
      5  1.3  rillig # maximum jobs to 1.  This only applies to the current make, it is not
      6  1.3  rillig # exported to submakes.
      7  1.1  rillig 
      8  1.3  rillig .MAKEFLAGS: -j4
      9  1.1  rillig 
     10  1.3  rillig # Set opts.maxJobs back to 1.  Without this line, the output would be in
     11  1.3  rillig # random order, interleaved with separators like '--- 1 ---'.
     12  1.3  rillig .NOTPARALLEL:
     13  1.3  rillig 
     14  1.3  rillig all: 1 2 3 4 5 6 7 8
     15  1.3  rillig 1 2 3 4 5 6 7 8: .PHONY
     16  1.3  rillig 	: Making ${.TARGET} out of nothing.
     17