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