History log of /src/usr.bin/make/unit-tests/dep-duplicate.exp
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.5 30-Mar-2025 rillig

make: use '"filename" line 123' for locations instead of 'filename:123'

The format 'filename:123' is commonly used for identifying a location in
a file. Text editors recognize it and allow quick navigation through it.
The previous format was specific to make and would have required custom
support in editors.

The new format was already used in stack traces, except for the first
line. Now all lines use the same format.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.4 25-May-2024 rillig

branches: 1.4.2;
tests/make: rename temporary file

The filename extension '.inc' is reserved for files that are checked
into version control.


Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
# 1.3 20-Jan-2022 rillig

make: fix filename in warning about duplicate script (since 2018-12-22)


# 1.2 20-Jan-2022 rillig

tests/make: refine test for wrong diagnostic line

To trigger the faulty code path, the file where the targets gets its
first command must be included via its relative path. That was the case
when running 'cd usr.bin/make && make test' but not when running the
tests via ATF.


# 1.1 19-Jan-2022 rillig

tests/make: demonstrate wrong location in diagnostic (since 2018-12-22)

When a target has multiple places where commands are defined, the
diagnostics mixed up the filename in some cases.