diff options
| author | rillig <rillig@NetBSD.org> | 2023-06-01 20:56:35 +0000 |
|---|---|---|
| committer | rillig <rillig@NetBSD.org> | 2023-06-01 20:56:35 +0000 |
| commit | c87a0f0af9217c77a95dfd55b2073f34ae35576d (patch) | |
| tree | bde8967dda0ad0f0f8a7782e2544990b10bfc68b /usr.bin/make/unit-tests/opt-debug-parse.exp | |
| parent | 804ec5ad1c5f82250c9279dcd7fb372399035a51 (diff) | |
tests/make: force line-based diagnostics to be listed in the tests
This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.
Diffstat (limited to 'usr.bin/make/unit-tests/opt-debug-parse.exp')
| -rw-r--r-- | usr.bin/make/unit-tests/opt-debug-parse.exp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/usr.bin/make/unit-tests/opt-debug-parse.exp b/usr.bin/make/unit-tests/opt-debug-parse.exp index 0e11024647a..811c6b45dce 100644 --- a/usr.bin/make/unit-tests/opt-debug-parse.exp +++ b/usr.bin/make/unit-tests/opt-debug-parse.exp @@ -1,26 +1,26 @@ Parse_PushInput: .for loop in opt-debug-parse.mk, line 16 SetFilenameVars: ${.PARSEDIR} = <some-dir> ${.PARSEFILE} = `opt-debug-parse.mk' -Parsing line 20: .info trace with multi-line .for loop head -make: "opt-debug-parse.mk" line 20: trace with multi-line .for loop head +Parsing line 21: .info trace with multi-line .for loop head +make: "opt-debug-parse.mk" line 21: trace with multi-line .for loop head in .for loop from opt-debug-parse.mk:16 with var = value -ParseEOF: returning to file opt-debug-parse.mk, line 22 +ParseEOF: returning to file opt-debug-parse.mk, line 23 SetFilenameVars: ${.PARSEDIR} = <some-dir> ${.PARSEFILE} = `opt-debug-parse.mk' -Parsing line 25: .include "/dev/null" +Parsing line 26: .include "/dev/null" Parse_PushInput: file /dev/null, line 1 SetFilenameVars: ${.PARSEDIR} = <some-dir> ${.PARSEFILE} = `null' SetFilenameVars: ${.INCLUDEDFROMDIR} = <some-dir> ${.INCLUDEDFROMFILE} = `opt-debug-parse.mk' -ParseEOF: returning to file opt-debug-parse.mk, line 26 +ParseEOF: returning to file opt-debug-parse.mk, line 27 SetFilenameVars: ${.PARSEDIR} = <some-dir> ${.PARSEFILE} = `opt-debug-parse.mk' -Parse_PushInput: .for loop in opt-debug-parse.mk, line 30 +Parse_PushInput: .for loop in opt-debug-parse.mk, line 31 SetFilenameVars: ${.PARSEDIR} = <some-dir> ${.PARSEFILE} = `opt-debug-parse.mk' -Parsing line 31: .info trace -make: "opt-debug-parse.mk" line 31: trace - in .for loop from opt-debug-parse.mk:30 with a = 1, b = 2, c = 3 -Parsing line 31: .info trace -make: "opt-debug-parse.mk" line 31: trace - in .for loop from opt-debug-parse.mk:30 with a = 4, b = 5, c = 6 -ParseEOF: returning to file opt-debug-parse.mk, line 33 +Parsing line 34: .info trace +make: "opt-debug-parse.mk" line 34: trace + in .for loop from opt-debug-parse.mk:31 with a = 1, b = 2, c = 3 +Parsing line 34: .info trace +make: "opt-debug-parse.mk" line 34: trace + in .for loop from opt-debug-parse.mk:31 with a = 4, b = 5, c = 6 +ParseEOF: returning to file opt-debug-parse.mk, line 36 SetFilenameVars: ${.PARSEDIR} = <some-dir> ${.PARSEFILE} = `opt-debug-parse.mk' -Parsing line 35: .MAKEFLAGS: -d0 +Parsing line 38: .MAKEFLAGS: -d0 ParseDependency(.MAKEFLAGS: -d0) exit status 0 |
