[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] * testsuite/Makefile.am: Error out if make check is called w
From: |
Jose E. Marchesi |
Subject: |
Re: [PATCH] * testsuite/Makefile.am: Error out if make check is called without DejaGNU |
Date: |
Tue, 28 Jan 2020 22:12:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
OK for master.
Thanks!
---
testsuite/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 77e0c249..57956b63 100644
--- a/testsuite/Makefile.am
+++ b/testsuite/Makefile.am
@@ -30,5 +30,7 @@ check-DEJAGNU: site.exp
POKEDATADIR="$(top_srcdir)/src" \
$$runtest --tool $(DEJATOOL) --srcdir $${srcdir} --objdir
$(builddir) \
$(RUNTESTFLAGS); \
- else echo "WARNING: could not find \`runtest'" 1>&2; :;\
+ else \
+ >&2 echo "WARNING: could not find \`runtest'"; \
+ exit 77; :;\
fi