kumquat-buildroot/support/testing
Ricardo Martincoski de03312db0 utils/get-developers: print error for correct line
Start counting the line numbers in 1 instead of 0, in case an error
must be printed.

Both the error about a developer entry with no file entry and the error
about a file entry with no developer entry actually belong to the
non-empty line previous the one being analysed, so in these cases print
the line number from the line before.

Also count empty and comment lines, so a developer fixing the file can
jump to the correct line (or the nearest one).

At same time standardize the messages, printing the line number
also in the case of a warning for a file that is not in the tree
anymore.

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-07 09:24:16 +01:00
..
conf support/testing: remove leftover kernel config fragment 2022-12-22 11:47:26 +01:00
infra support/tests: print failed command and output on assertRunOK error 2022-12-27 21:40:31 +01:00
tests utils/get-developers: print error for correct line 2023-02-07 09:24:16 +01:00
run-tests support/testing/run-tests: fix --testcases option 2022-07-27 18:20:44 +02:00