]> git.ipfire.org Git - thirdparty/make.git/commit
tests: Enhance output to contain filename/line number info
authorPaul Smith <psmith@gnu.org>
Sat, 27 Nov 2021 19:03:44 +0000 (14:03 -0500)
committerPaul Smith <psmith@gnu.org>
Sat, 27 Nov 2021 19:03:44 +0000 (14:03 -0500)
commit29d92d40911aeb517c044d733fc652e7097294e8
tree2b65d37c9e9089ba8ea467ab01b788ad558a6a17
parentf8f9d371ff58a7195ca4abc9413f435c2bf2b998
tests: Enhance output to contain filename/line number info

* tests/scripts/options/dash-I: Use string comparison operator.
* tests/test_driver.pl (cmd2str): New method to convert a
command line to a string with proper quoting.
* tests/run_make_tests.pl (create_command): Call cmd2str() to format
the command.  Add the filename/line number to the output.
tests/run_make_tests.pl
tests/scripts/options/dash-I
tests/test_driver.pl