Skip to content
Snippets Groups Projects
  1. Jan 02, 2025
  2. Jan 11, 2024
    • Paul Iannetta's avatar
      dg-extract-results.py: Ignore case in header line · 8f67953d
      Paul Iannetta authored
      DejaGNU changed its header line from "Test Run By" to "Test run by"
      around 2016.  This patch makes it so that both alternatives are
      correcly detected.
      
      contrib/ChangeLog:
      
      	* dg-extract-results.py: Make the test_run regex case
      	insensitive.
      8f67953d
  3. Jan 03, 2024
  4. Sep 29, 2023
    • Paul Iannetta's avatar
      Harmonize headers between both dg-extract-results scripts · 346f5991
      Paul Iannetta authored
          The header of the python version looked like:
          Target is ...
          Host   is ...
          The header of the bash version looked like:
          Test run by ... on ...
          Target is ...
      
          After this change both headers look like:
          Test run by ... on ...
          Target is ...
          Host   is ...
      
          The order of the tests is not the same but since dg-cmp-results.sh it
          does not matter much.
      
      contrib/ChangeLog:
      
      	* dg-extract-results.py: Print the "Test run" line.
      	* dg-extract-results.sh: Print the "Host" line.
      346f5991
  5. Jan 16, 2023
  6. May 15, 2020
    • Andrew Burgess's avatar
      contrib: Handle GDB specific test result types · c9a41202
      Andrew Burgess authored
      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.
      c9a41202
  7. Oct 21, 2019
    • Andrew Burgess's avatar
      contrib: Add KPASS support to dg-extract-results.{sh,py} · aa7710cb
      Andrew Burgess authored
      Extend dg-extract-results.sh and dg-extract-results.py to support the
      KPASS test result status.  This is required by GDB which uses a copy
      of the dg-extract-results.{sh,py} scripts that it tries to keep in
      sync with GCC.
      
      ChangeLog:
      
              * contrib/dg-extract-results.sh: Add support for KPASS.
              * contrib/dg-extract-results.py: Likewise.
      
      From-SVN: r277260
      aa7710cb
  8. Apr 17, 2019
  9. Mar 05, 2019
  10. Feb 04, 2019
  11. Sep 20, 2016
  12. Oct 02, 2014
  13. Sep 19, 2014
  14. Jun 14, 2014
  15. May 25, 2014
  16. May 20, 2014
  17. May 08, 2014
Loading