diff options
Diffstat (limited to 'contrib/bmake/unit-tests/directive-elif.exp')
-rw-r--r-- | contrib/bmake/unit-tests/directive-elif.exp | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/contrib/bmake/unit-tests/directive-elif.exp b/contrib/bmake/unit-tests/directive-elif.exp index 6219b4896795..6856494023d7 100644 --- a/contrib/bmake/unit-tests/directive-elif.exp +++ b/contrib/bmake/unit-tests/directive-elif.exp @@ -1,17 +1,21 @@ -make: "directive-elif.mk" line 7: begin .elif misspellings tests, part 1 -make: "directive-elif.mk" line 9: 1-then -make: "directive-elif.mk" line 18: begin .elif misspellings tests, part 2 -make: "directive-elif.mk" line 29: begin .elif misspellings tests, part 3 -make: "directive-elif.mk" line 41: which branch is taken on misspelling after false? -make: "directive-elif.mk" line 49: else -make: "directive-elif.mk" line 52: which branch is taken on misspelling after true? -make: "directive-elif.mk" line 54: 1-then -make: "directive-elif.mk" line 55: Unknown directive "elsif" -make: "directive-elif.mk" line 56: 1-elsif -make: "directive-elif.mk" line 57: Unknown directive "elsif" -make: "directive-elif.mk" line 58: 2-elsif -make: "directive-elif.mk" line 64: if-less elif -make: "directive-elif.mk" line 69: warning: extra elif +make: "directive-elif.mk" line 47: Unknown directive "elsif" +make: "directive-elif.mk" line 52: This branch is taken. +make: "directive-elif.mk" line 60: Unknown directive "elsif" +make: "directive-elif.mk" line 63: This branch is taken. +make: "directive-elif.mk" line 69: This branch is taken. +make: "directive-elif.mk" line 89: Unknown directive "elsif" +make: "directive-elif.mk" line 90: This misspelling is detected. +make: "directive-elif.mk" line 91: This branch is taken because of the .else. +make: "directive-elif.mk" line 109: What happens on misspelling in a skipped branch? +make: "directive-elif.mk" line 119: else +make: "directive-elif.mk" line 122: What happens on misspelling in a taken branch? +make: "directive-elif.mk" line 124: 1-then +make: "directive-elif.mk" line 125: Unknown directive "elsif" +make: "directive-elif.mk" line 126: 1-elsif +make: "directive-elif.mk" line 127: Unknown directive "elsif" +make: "directive-elif.mk" line 128: 2-elsif +make: "directive-elif.mk" line 134: if-less elif +make: "directive-elif.mk" line 139: warning: extra elif make: Fatal errors encountered -- cannot continue make: stopped in unit-tests exit status 1 |