]> git.ipfire.org Git - thirdparty/gcc.git/commit
[contrib] validate_failures.py: Add new option --invert_match
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Wed, 3 May 2023 15:53:17 +0000 (15:53 +0000)
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Wed, 14 Jun 2023 14:29:47 +0000 (14:29 +0000)
commit22a0ade86cb5ccb6c8e8ff047a511374cbc799ce
tree8bb927f9080337a8de19dfae897ff87a026e64a1
parent7aa47751d23ceaf7a7fa746e30dc3266f6c40ad3
[contrib] validate_failures.py: Add new option --invert_match

This option is used to detect flaky tests that FAILed in the clean
build (or manifest), but PASSed in the current build (or manifest).

The option inverts output logic similar to what "-v/--invert-match"
does for grep.

contrib/ChangeLog:

* testsuite-management/validate_failures.py (ResultSet.update,)
(ResultSet.HasTestsuite): New methods.
(GetResults): Update.
(ParseSummary, CompareResults, PerformComparison, Main): Handle new
option --invert_match.
contrib/testsuite-management/validate_failures.py