>From 591ac98e606d11eb70cc8e5b83f60f50468c896d Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 5 Aug 2024 22:09:22 -0700 Subject: [PATCH 2/5] build: Don't fail on 'make clean' before 'make check'. * tests/Makefile.am (clean-local): Check for the $(TESTSUITE) before trying to run it. --- tests/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a2894a7..43b5fae 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -72,7 +72,9 @@ atconfig: $(top_builddir)/config.status cd $(top_builddir) && ./config.status tests/$@ clean-local: - $(SHELL) $(TESTSUITE) --clean + if test -x $(TESTSUITE); then \ + $(SHELL) $(TESTSUITE) --clean; \ + fi check-local: atconfig atlocal $(TESTSUITE) $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) -- 2.45.2