Commit Graph

14 Commits

Author SHA1 Message Date
Bernd Edlinger 74d3531523 dg-extract-results.sh: Check that the necessary python modules exist.
2015-03-06  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * dg-extract-results.sh: Check that the necessary python modules exist.

From-SVN: r221247
2015-03-06 18:35:15 +00:00
Sergio Durigan Junior 64e6d5c442 dg-extract-results.sh: Use --text with grep to avoid issues with binary files.
2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>

	* dg-extract-results.sh: Use --text with grep to avoid issues with
	  binary files.  Fall back to cat -v, if that doesn't work.

From-SVN: r218843
2014-12-17 22:35:04 +00:00
Richard Sandiford 0af7b53a8b dg-extract-results.py: New file.
contrib/
	* dg-extract-results.py: New file.
	* dg-extract-results.sh: Use it if the environment seems suitable.

From-SVN: r210243
2014-05-08 20:24:33 +00:00
David Blaikie db06526856 dg-extract-results.sh: Fix order of summary counts.
2013-01-15  David Blaikie <dblaikie@gmail.com>

	* dg-extract-results.sh: Fix order of summary counts.

From-SVN: r195224
2013-01-16 03:42:31 +00:00
David Blaikie 9fa633fc14 dg-extract-results.sh: Constrain the start-of-log pattern.
2013-01-15  David Blaikie <dblaikie@gmail.com>

	* dg-extract-results.sh: Constrain the start-of-log pattern.

From-SVN: r195216
2013-01-15 20:19:33 +00:00
David Blaikie 16dd2667ee dg-extract-results.sh: Handle KPASSes.
2013-01-15  David Blaikie <dblaikie@gmail.com>

	* dg-extract-results.sh: Handle KPASSes.

From-SVN: r195215
2013-01-15 20:18:20 +00:00
Doug Evans a0806f33ad * dg-extract-results.sh: Handle KFAILs.
From-SVN: r186200
2012-04-06 19:39:52 +00:00
Rainer Orth bc492e47c8 configure.ac: Redirect grep stdout, stderr to /dev/null instead of grep -q.
libjava:
	* configure.ac: Redirect grep stdout, stderr to /dev/null instead
	of grep -q.
	Use -- instead of grep -e.
	* configure: Regenerate.

	gcc:
	* configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout,
	stderr to /dev/null instead of grep -q.
	* configure: Regenerate.

	contrib:
	* dg-extract-results.sh: Redirect grep output to /dev/null instead
	of grep -q.

From-SVN: r159840
2010-05-25 18:50:01 +00:00
Jan Kratochvil fccff34135 Fix *.log tests output containing "===".
contrib/
	Fix *.log tests output containing "===".
	* dg-extract-results.sh (/\===/): Rename to ...
	(/^\t\t=== .* ===$/): ... this pattern.

From-SVN: r157645
2010-03-22 17:36:49 +00:00
Rainer Orth 54bceaf397 * dg-extract-results.sh: Fix result order to match sequential case.
From-SVN: r157175
2010-03-02 20:28:55 +00:00
Rainer Orth 5392f6be70 * dg-extract-results.sh: Don't use tail -n.
From-SVN: r155655
2010-01-05 18:29:48 +00:00
Jakub Jelinek 060717fcc5 re PR testsuite/39807 (Reporting of testsuite failures are messed up when using -j)
PR testsuite/39807
	* dg-extract-results.sh: Close open files and use >> instead of >
	to decrease number of concurrently open files from awk.  Avoid
	= at the beginning of a regexp and redirect to a file determined
	by curfile variable rather than concatenated strings to workaround
	Solaris nawk bug.

From-SVN: r146850
2009-04-27 21:11:23 +02:00
Jakub Jelinek ba4f8572c1 Mark dg-extract-results.sh executable.
From-SVN: r141338
2008-10-24 11:00:54 +02:00
Jakub Jelinek 7134e6056c dg-extract-results.sh: New file.
contrib/
	* dg-extract-results.sh: New file.
gcc/
	* Makefile.in (lang_checks_parallelized, check_gcc_parallelize,
	check_p_tool, check_p_vars, check_p_subno, check_p_comma,
	check_p_subwork, check_p_numbers, check_p_subdir, check_p_subdirs):
	New variables.
	(check-subtargets, check-%-subtargets, check-parallel-%): New
	targets.
	(check-%): For test targets listed in lang_checks_parallelized
	if -j is used and RUNTESTFLAGS doesn't specify tests to execute,
	run the testing in multiple make goals, possibly parallel, and
	afterwards run dg-extract-results.sh to merge the sum and log files.
gcc/cp/
	* Make-lang.in (check-c++-subtargets): New alias for
	check-g++-subtargets.
	(lang_checks_parallelized): Add check-g++.
	(check_g++_parallelize): New variable.
gcc/fortran/
	* Make-lang.in (check-f95-subtargets, check-fortran-subtargets): New
	aliases for check-gfortran-subtargets.
	(lang_checks_parallelized): Add check-gfortran.
	(check_gfortran_parallelize): New variable.
gcc/ada/
	* gcc-interface/Make-lang.in (check-ada-subtargets): Depend on
	check-acats-subtargets and check-gnat-subtargets.
	(check_acats_targets): New variable.
	(check-acats-subtargets, check-acats%): New targets.
	(check-acats): If -j is used and CHAPTERS is empty, run the testing
	in multiple make goals, possibly parallel, and afterwards run
	dg-extract-results.sh to merge the sum and log files.
gcc/java/
	* Make-lang.in (check-java-subtargets): New target.
libstdc++-v3/
	* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
	(RUNTESTDEFAULTFLAGS, EXPECT, check_DEJAGNU_normal_targets): New
	variables.
	(%/site.exp, check-DEJAGNU%): New targets.
	(check-am): Run $(MAKE) check-DEJAGNU.
	* testsuite/Makefile.in: Regenerated.

From-SVN: r141337
2008-10-24 10:58:44 +02:00