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 [BZ #6024] 2008-04-09 05:39:54 +00:00
abilist.awk Properly handle indirect functions in ABI check on powerpc64 2012-11-28 16:19:08 +01:00
begin-end-check.pl Add rules to run scripts/begin-end-check.pl. 2005-09-17 17:15:50 +00:00
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 Do check-execstack test using readelf rather than a build-time C program. 2012-05-01 13:27:52 -07:00
check-local-headers.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check-localplt.awk Add flexibility to localplt-*.data files, using an awk script rather than diff to check the results. 2012-04-24 14:48:15 -07:00
check-textrel.awk Do check-textrel test using readelf rather than a build-time C program. 2012-05-01 13:27:11 -07:00
config-uname.sh Rejigger header generation for default uname implementation. 2010-08-24 11:56:52 -07:00
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 * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
cross-test-ssh.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
documented.sh Recognize documentation of obsolete functions. 2001-04-09 23:15:45 +00:00
evaluate-test.sh Generate .test-result files for ordinary tests. 2014-02-15 01:04:57 +00:00
firstversions.awk Fix bug in firstversions.awk version range handling. 2012-01-28 12:02:44 -05:00
gen-as-const.awk Fix 64-bit platform handling in test cases for generated headers with constants. 2009-08-16 00:39:43 -07:00
gen-libc-abis Missing files for libc ABI handling. 2010-03-16 04:47:33 -07:00
gen-sorted.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
install-sh Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
lib-names.awk Convert WORDSIZE[32|64]/ld entries to abi-variants 2012-05-30 08:33:26 -07:00
list-sources.sh Regenerate libc.pot. 2012-06-21 07:58:27 -07:00
localplt.awk Do check-localplt test using readelf rather than a build-time C program. 2012-05-01 13:30:35 -07:00
mkinstalldirs Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
move-if-change Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
output-format.sed 2004-08-13 Daniel Jacobowitz <dan@debian.org> 2004-08-14 06:54:39 +00:00
rellns-sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
rpm2dynsym.sh 2003-03-27 Roland McGrath <roland@redhat.com> 2003-03-27 22:48:49 +00:00
soversions.awk Convert WORDSIZE[32|64]/ld entries to abi-variants 2012-05-30 08:33:26 -07:00
sysd-rules.awk Sort sysd-rules-patterns by descending pattern length. 2013-06-17 09:55:49 -07:00
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