From f2c6522c078fc5c43bc66c747f82ea224a352681 Mon Sep 17 00:00:00 2001 From: smeyer Date: Tue, 7 Jan 2025 14:02:19 +0000 Subject: [PATCH] refer to check.log on error git-svn-id: https://svn.r-project.org/R/trunk@87535 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/nmath/standalone/Makefile.in | 7 ++++--- src/nmath/standalone/Makefile.win | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/nmath/standalone/Makefile.in b/src/nmath/standalone/Makefile.in index 5555c16e29c..0623d3dc25d 100644 --- a/src/nmath/standalone/Makefile.in +++ b/src/nmath/standalone/Makefile.in @@ -97,9 +97,10 @@ check: $(MAKE) -f test >> check.log 2>&1; \ else \ $(MAKE) all test > check.log 2>&1; \ - fi - @tail check.log - @$(ECHO) "check output can be found in src/nmath/standalone/check.log" + fi || { \ + $(ECHO) "==> src/nmath/standalone/check.log <=="; \ + tail check.log && exit 1; \ + } Copy: @$(ECHO) "Copying source files" diff --git a/src/nmath/standalone/Makefile.win b/src/nmath/standalone/Makefile.win index e0523c8e5be..52984cb3af9 100644 --- a/src/nmath/standalone/Makefile.win +++ b/src/nmath/standalone/Makefile.win @@ -52,8 +52,10 @@ check: distclean $(MAKE) -f Makefile.win test >> check.log 2>&1; \ else \ $(MAKE) -f Makefile.win all test > check.log 2>&1; \ - fi - @$(ECHO) "check output can be found in src/nmath/standalone/check.log" + fi || { \ + $(ECHO) "==> src/nmath/standalone/check.log <=="; \ + tail check.log && exit 1; \ + } clean: @$(RM) $(SOURCES_NMATH) *.o *.d *.def Makedeps stamp-src