Author: aurel32
Date: 2015-12-02 22:59:58 +0000 (Wed, 02 Dec 2015)
New Revision: 6745

Modified:
   glibc-package/branches/glibc-2.22/debian/changelog
   glibc-package/branches/glibc-2.22/debian/rules.d/build.mk
Log:
debian/rules.d/build.mk: abort if the log file does not contain any
testsuite result.

Modified: glibc-package/branches/glibc-2.22/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.22/debian/changelog  2015-12-02 21:52:13 UTC 
(rev 6744)
+++ glibc-package/branches/glibc-2.22/debian/changelog  2015-12-02 22:59:58 UTC 
(rev 6745)
@@ -14,6 +14,8 @@
     new tests.
   * debian/testsuite-checking/expected-results-aarch64-linux-gnu-libc:
     cleanup resolved issues.
+  * debian/rules.d/build.mk: abort if the log file does not contain any
+    testsuite result.
 
  -- Aurelien Jarno <aure...@debian.org>  Wed, 02 Dec 2015 01:10:00 +0100
 

Modified: glibc-package/branches/glibc-2.22/debian/rules.d/build.mk
===================================================================
--- glibc-package/branches/glibc-2.22/debian/rules.d/build.mk   2015-12-02 
21:52:13 UTC (rev 6744)
+++ glibc-package/branches/glibc-2.22/debian/rules.d/build.mk   2015-12-02 
22:59:58 UTC (rev 6745)
@@ -137,6 +137,10 @@
          echo Testing $(curpass) / $(log_results); \
          find $(DEB_BUILDDIR) -name '*.out' -exec rm {} ';' ; \
          LD_PRELOAD="" LANG="" TIMEOUTFACTOR="50" $(MAKE) -C $(DEB_BUILDDIR) 
$(NJOBS) check 2>&1 | tee $(log_test); \
+         if ! grep -q '^Summary of test results:' $(log_test) ; then \
+           echo "Error: testsuite failed to run completely.  Aborting." ; \
+           exit 1 ; \
+         fi ; \
          chmod +x debian/testsuite-checking/convertlog.sh ; \
          debian/testsuite-checking/convertlog.sh $(log_test) | tee 
$(log_results) ; \
          if test -f $(log_expected) ; then \

Reply via email to