glibc/scripts
Tomas Dohnalek 591aeaf7a9 Generate .test-result files for ordinary tests.
This patch, an updated version of
<https://sourceware.org/ml/libc-alpha/2014-01/msg00193.html>, starts
the process of generating explicit PASS or FAIL status for individual
glibc tests.  It's based on Tomas Dohnalek's patch
<https://sourceware.org/ml/libc-alpha/2012-10/msg00278.html>, but is
deliberately more minimal: it doesn't try to cover any tests outside
of $(tests) / $(xtests) (that's for a later patch), nor does it put
the result together in an overall summary file (again, a later patch):
it just generates the .test-result files.

Thus, this patch keeps the overall logic for when a testsuite run
finishes completely unchanged: a test failing will terminate the run.
I think we *should* move to a more conventional approach where plain
"make check" does not terminate for an individual test failure, unless
e.g. you say "make stop-on-test-failure=y check", but that sort of
policy change is best done as a separate patch once the infrastructure
is in place to generate summary files for completed test runs (which
will entirely consist of PASS and XFAIL lines if the testsuite run
reaches the point of generating them, until such a policy change is
made).

Tested x86_64.

2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
	    Joseph Myers  <joseph@codesourcery.com>

	* Makeconfig (test-name): New variable.
	(evaluate-test): Likewise.
	* Makerules (do-test-clean): Remove .test-result files.
	(common-mostlyclean): Likewise.
	* Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
	* scripts/evaluate-test.sh: New file.
2014-02-15 01:04:57 +00:00
..
abi-versions.awk
abilist.awk
begin-end-check.pl
bench.pl Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check-c++-types.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check-execstack.awk
check-local-headers.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check-localplt.awk
check-textrel.awk
config-uname.sh
config.guess Update texinfo.tex, config.guess, config.sub from upstream. 2013-12-19 17:36:10 +00:00
config.sub Update texinfo.tex, config.guess, config.sub from upstream. 2013-12-19 17:36:10 +00:00
cpp
cross-test-ssh.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
documented.sh
evaluate-test.sh Generate .test-result files for ordinary tests. 2014-02-15 01:04:57 +00:00
firstversions.awk
gen-as-const.awk
gen-libc-abis
gen-sorted.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
install-sh
lib-names.awk
list-sources.sh
localplt.awk
mkinstalldirs
move-if-change
output-format.sed
rellns-sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
rpm2dynsym.sh
soversions.awk
sysd-rules.awk
test-installation.pl Update remaining copyright dates 2014-01-01 22:02:55 +10:00
update-copyrights scripts/update-copyrights: adjust configure input file suffix 2014-01-01 22:10:54 +10:00
versions.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00