]> git.ipfire.org Git - thirdparty/automake.git/commit
tests: depcomp: ensure make_ok() fails when run_make fails
authorFrédéric Bérat <fberat@redhat.com>
Mon, 12 Dec 2022 06:32:13 +0000 (07:32 +0100)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Jan 2023 21:51:44 +0000 (16:51 -0500)
commit6d6fc91c472fd84bd71a1b012fa9ab77bd94efea
tree29ffca294635a4184ab5bc02d992febcd35c95a6
parent7fd1d064a545cfb7864d97694ae98e3d060c62d3
tests: depcomp: ensure make_ok() fails when run_make fails

While running automake tests with -std-gnu=c99, the compiler report
errors which lead to make to fail. Yet, these failures are ignored
during the tests, which considers them to be successful as stderror is
check for one specific pattern.

If make fails, investigation should be made to discover why, whatever
the reason for the failure is.

* t/ax/depcomp.sh: Make make_ok fail when make fails.
t/ax/depcomp.sh