gcc/contrib
Andrew Burgess c9a41202b2 contrib: Handle GDB specific test result types
This commit is for the benefit of GDB, but as the binutils-gdb
repository shares the contrib/ directory with gcc, this commit must
first be applied to gcc then copied back to binutils-gdb.

This commit extends the two scripts contrib/dg-extract-results.{py,sh}
to handle some new, GDB specific test result types.  These test
results types should never appear in GCC, or any other tool that
shares the contrib/ directly, so this change should be harmless.

In this patch series:
  https://sourceware.org/pipermail/gdb-patches/2020-April/167847.html
changes were made in GDB's use of Dejagnu so that two additional
conditions could be detected, these are:

  1. Test names that contain either the build or source paths.  Such
  test names make it difficult to compare the results of two test runs
  of GDB from two different directories, and

  2. Duplicate test names.  Duplicates make it difficult to track down
  exactly which test has failed.

When running Dejagnu on GDB we can now (sometimes) see two additional
test result types matching the above conditions, these are '# of paths
in test names' and '# of duplicate test names'.

If the test is run in parallel mode (make -j...) then these extra test
results will appear in the individual test summary files, but are not
merged into the final summary file.

Additionally, within the summary file there are now two new types of
test summary line, these are 'PATH: ...' and 'DUPLICATE: ...', these
allow users to quickly search the test summary to track down where the
offending test names are.  These lines are similarly not merged into
the unified gdb.sum file after a parallel test run.

This commit extends the dg-extract-results.* scripts to calculate the
totals for the two new result types, and to copy the new test summary
lines into the unified summary file.

contrib/ChangeLog:

	* dg-extract-results.py: Handle GDB specific test types.
	* dg-extract-results.sh: Likewise.
2020-05-15 11:19:15 +01:00
..
gcc-changelog Add tests for gcc-changelog. 2020-05-14 13:59:36 +02:00
header-tools Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
reghunt
regression
testsuite-management
unicode Byte vs column awareness for diagnostic-show-locus.c (PR 49973) 2019-12-09 20:03:47 +00:00
vim-gcc-dev contrib/vimrc: override formatting options for more files 2019-09-02 15:30:02 +03:00
analyze_brprob_spec.py
analyze_brprob.py
bench-stringop Add new micro-benchmark for string operations. 2019-06-19 07:24:02 +00:00
ChangeLog contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
ChangeLog.jit
ChangeLog.tree-ssa
check_GNU_style_lib.py
check_GNU_style.py
check_GNU_style.sh
check_makefile_deps.sh
check_warning_flags.sh
check-internal-format-escaping.py * check-internal-format-escaping.py: New version using polib. 2019-04-30 10:14:40 -06:00
check-params-in-docs.py Ignore a param in check-params-in-docs.py 2019-03-06 10:00:37 +00:00
clang-format Tweak clang-format configuration. 2019-09-18 13:32:25 +00:00
compare_tests
compare_two_ftime_report_sets
compare-all-tests Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
compare-debug
compare-lto
compareSumTests3
config-list.mk MSP430: Add new msp430-elfbare target 2019-12-16 11:02:10 +00:00
dg-cmp-results.sh
dg-extract-results.py contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
dg-extract-results.sh contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
dglib.pm
download_prerequisites download_prerequisites: Use http instead of ftp for downloading. 2019-11-13 19:48:52 +02:00
filter_gcc_for_doxygen
filter_knr2ansi.pl
filter_params.py
filter-clang-warnings.py Transform filter-rtags-warnings to filter-clang-warnings. 2019-06-25 12:30:19 +00:00
gcc_build
gcc_update intl: Unbreak intl build with bison 3 when no regeneration is needed [PR92008] 2020-04-16 11:55:00 +02:00
gcc-git-customization.sh Improve svn-rev to search for pattern at line beginning. 2020-04-03 12:30:39 +02:00
gcc.doxy
gen_autofdo_event.py
gennews * gennews (files): Add files for GCC 9. 2019-05-03 09:40:10 +02:00
git-add-user-branch.sh contrib: Change 'remote' for personal branches and add branch creation script 2020-01-24 14:38:16 +00:00
git-add-vendor-branch.sh contrib: script to create a new vendor branch 2020-01-22 10:06:50 +00:00
git-fetch-vendor.sh contrib: New remotes structure for vendor and personal refs 2020-01-20 10:37:29 +00:00
gthr_supp_vxw_5x.c
index-prop
jit-coverage-report.py
maintainers-verify.sh
make_sunver.pl
make-obstacks-texi.pl
mark_spam.py
mklog Make mklog more robust. 2019-11-08 08:39:17 +00:00
mklog.pl
paranoia.cc
patch_tester.sh
prepare_patch.sh
prerequisites.md5
prerequisites.sha512
repro_fail
test_installed
test_recheck
test_summary test_summary: Do not escape "=". 2019-08-13 17:17:49 +02:00
texi2pod.pl Fix @multitable handling in texi2pod.pl 2019-12-07 09:57:04 +00:00
uninclude
unused_functions.py
update-copyright.py update-copyright.py: Add Mentor Graphics Corporation and Yoshinori Sato as external authors. 2020-01-01 12:26:53 +01:00
vimrc contrib/vimrc: Reduce textwidth for commit messages 2020-05-13 14:58:50 +02:00
warn_summary