This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.24-340-ge64e117
- From: jsm28 at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 4 Nov 2016 21:29:21 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.24-340-ge64e117
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via e64e117177b4cf3545edabfcc630c6a82a4ee643 (commit)
from 5e37a69a04c61d5bdffb2acbcb05362794e72816 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e64e117177b4cf3545edabfcc630c6a82a4ee643
commit e64e117177b4cf3545edabfcc630c6a82a4ee643
Author: Joseph Myers <joseph@codesourcery.com>
Date: Fri Nov 4 21:29:00 2016 +0000
Do not generate UNRESOLVED results for run-built-tests = no.
Testing with run-built-tests = no generates many UNRESOLVED results in
tests.sum (and so in the output of "make check"), for all the tests
that are only compiled and not run in such a configuration. This
doesn't seem useful in the "make check" output, and also causes "make
check" to exist with error status even when all tests that can be run
in such a configuration passed.
This patch changes it not to consider those tests when generating
subdir-tests.sum, and so tests.sum, so that you get a smaller number
of tests considered in the final results rather than a huge pile of
UNRESOLVED.
Tested with a cross-compiler to ARM in a run-built-tests = no
configuration.
* Rules (tests-expected): New variable, depending on
$(run-built-tests).
(tests): Pass $(tests-expected) to merge-test-results.sh, not
$(tests).
diff --git a/ChangeLog b/ChangeLog
index 0d3f778..7f2493b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2016-11-04 Joseph Myers <joseph@codesourcery.com>
+ * Rules (tests-expected): New variable, depending on
+ $(run-built-tests).
+ (tests): Pass $(tests-expected) to merge-test-results.sh, not
+ $(tests).
+
* Rules [$(run-built-tests) = no] (tests): Do not depend on
$(tests-unsupported).
diff --git a/Rules b/Rules
index 4b95997..466db07 100644
--- a/Rules
+++ b/Rules
@@ -124,9 +124,14 @@ endif
tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special))
xtests-special-notdir = $(patsubst $(objpfx)%, %, $(xtests-special))
+ifeq ($(run-built-tests),no)
+tests-expected =
+else
+tests-expected = $(tests)
+endif
tests:
$(..)scripts/merge-test-results.sh -s $(objpfx) $(subdir) \
- $(sort $(tests) $(tests-special-notdir:.out=)) \
+ $(sort $(tests-expected) $(tests-special-notdir:.out=)) \
> $(objpfx)subdir-tests.sum
xtests:
$(..)scripts/merge-test-results.sh -s $(objpfx) $(subdir) \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
Rules | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources