Lines Matching +full:parallel +full:- +full:in
1 # $NetBSD: opt-jobs-internal.mk,v 1.6 2025/05/23 21:05:56 rillig Exp $
3 # Tests for the (intentionally undocumented) internal -J command line option.
9 @${MAKE} -f ${MAKEFILE} -j1 direct
10 @${MAKE} -f ${MAKEFILE} -j1 direct-syntax
11 @${MAKE} -f ${MAKEFILE} -j1 direct-open
12 @${MAKE} -f ${MAKEFILE} -j1 indirect-open
13 @${MAKE} -f ${MAKEFILE} -j1 indirect-expr
14 @${MAKE} -f ${MAKEFILE} -j1 indirect-comment
15 @${MAKE} -f ${MAKEFILE} -j1 indirect-silent-comment
16 @${MAKE} -f ${MAKEFILE} -j1 indirect-expr-empty
18 detect-mode: .PHONY
19 @mode=parallel
20 @echo ${HEADING}: mode=$${mode:-compat}
22 # expect: direct: mode=parallel
24 @mode=parallel
25 @echo ${.TARGET}: mode=$${mode:-compat}
27 # expect: make: error: invalid internal option "-J garbage" in "<curdir>"
28 direct-syntax: .PHONY
29 @${MAKE} -f ${MAKEFILE} -J garbage unexpected-target || :
31 # expect: direct-open: mode=compat
32 direct-open: .PHONY
33 @${MAKE} -f ${MAKEFILE} -J 31,32 detect-mode HEADING=${.TARGET}
35 # expect: indirect-open: mode=compat
36 indirect-open: .PHONY
37 @${MAKE:U} -f ${MAKEFILE} detect-mode HEADING=${.TARGET}
39 # When a command in its unexpanded form contains the expression "${MAKE}"
41 # expect: indirect-expr: mode=parallel
42 indirect-expr: .PHONY
43 @${MAKE} -f ${MAKEFILE} detect-mode HEADING=${.TARGET}
47 # expect: indirect-comment: mode=compat
48 indirect-comment: .PHONY
50 @${MAKE:U} -f ${MAKEFILE} detect-mode HEADING=${.TARGET}
55 # expect: indirect-silent-comment: mode=parallel
56 indirect-silent-comment: .PHONY
58 @${MAKE:U} -f ${MAKEFILE} detect-mode HEADING=${.TARGET}
60 # When a command in its unexpanded form contains the plain word "make", the
62 # expect: indirect-expr-empty: mode=parallel
63 indirect-expr-empty: .PHONY
65 @${MAKE:U} -f ${MAKEFILE} detect-mode HEADING=${.TARGET}