]> git.ipfire.org Git - thirdparty/make.git/commit
tests: Allow run_make_test() to avoid passing -f
authorPaul Smith <psmith@gnu.org>
Sat, 26 Feb 2022 22:19:42 +0000 (17:19 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 27 Feb 2022 22:47:42 +0000 (17:47 -0500)
commit1bc35a7ae729989f691a988bca1ef1f1940c99a5
treebff89d5ed47fd98599df9f8f56fc9dc1cb60c634
parent8cdaabbf8e129fc15ee1456d4fce9d10bf4bad55
tests: Allow run_make_test() to avoid passing -f

We already use undef makefile strings to mean "re-use the previous
makefile", so if the string is empty we'll assume it means "don't
use a makefile at all" (don't add -f).

* tests/run_make_tests.pl (run_make_test): If the makefile string
is empty, don't create a makefile or add -f.
* tests/scripts/features/include: Change empty makefile to "\n".
* tests/scripts/misc/close_stdout: Ditto.
* tests/scripts/options/dash-r: Ditto.
tests/run_make_tests.pl
tests/scripts/features/include
tests/scripts/misc/close_stdout
tests/scripts/options/dash-r