xref: /freebsd/contrib/bmake/unit-tests/cmd-errors-jobs.exp (revision a8c56be47166295d37600ff81fc1857db87b3a9b)
1begin undefined-direct
2: undefined-direct--eol
3end undefined-direct with status 0
4
5begin undefined-indirect
6: undefined-direct--eol
7end undefined-indirect with status 0
8
9begin parse-error-direct
10make: Unclosed variable "UNCLOSED"
11	in command ": unexpected $@-${UNCLOSED"
in target "parse-error-unclosed-expression"
in make[1] in directory "<curdir>"
make: Unclosed expression, expecting "
}"
12 while evaluating variable "UNCLOSED" with value "" 13 in command ": unexpected $@-${UNCLOSED:"
in target "parse-error-unclosed-modifier"
in make[1] in directory "<curdir>"
make: Unknown modifier ":Z"
while evaluating variable "UNKNOWN" with value ""
in command ": unexpected $@-${UNKNOWN:Z
}-eol"
14 in target "parse-error-unknown-modifier" 15 in make[1] in directory "<curdir>" 16end parse-error-direct with status 2 17 18begin parse-error-indirect 19make: Unclosed variable "UNCLOSED" 20 in command ": unexpected $@-${UNCLOSED"
in target "parse-error-unclosed-expression"
in make[1] in directory "<curdir>"
make: Unclosed expression, expecting "
}"
21 while evaluating variable "UNCLOSED" with value "" 22 in command ": unexpected $@-${UNCLOSED:"
in target "parse-error-unclosed-modifier"
in make[1] in directory "<curdir>"
make: Unknown modifier ":Z"
while evaluating variable "UNKNOWN" with value ""
in command ": unexpected $@-${UNKNOWN:Z
}-eol"
23 in target "parse-error-unknown-modifier" 24 in make[1] in directory "<curdir>" 25end parse-error-indirect with status 2 26 27begin begin-direct 28(exit 13) # .BEGIN 29*** Error code 13 (continuing) 30 31 32Stop. 33make: stopped making "begin-direct" in unit-tests 34end begin-direct with status 1 35 36begin begin-indirect 37(exit 13) # before-begin 38*** Error code 13 (continuing) 39 40 41Stop. 42make: stopped making "begin-indirect" in unit-tests 43end begin-indirect with status 1 44 45begin end-direct 46(exit 13) # .END 47*** Error code 13 (continuing) 48 49 50Stop. 51make: stopped making "end-direct" in unit-tests 52end end-direct with status 1 53 54begin end-indirect 55(exit 13) # before-end 56*** Error code 13 (continuing) 57 58 59Stop. 60make: stopped making "end-indirect" in unit-tests 61end end-indirect with status 1 62 63exit status 0 64