public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1817] [contrib] validate_failures.py: Use exit code "2" to indicate regression
@ 2023-06-14 14:31 Maxim Kuvyrkov
  0 siblings, 0 replies; only message in thread
From: Maxim Kuvyrkov @ 2023-06-14 14:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5d52f35546418a641983572bd3bf8e233a5b1e16

commit r14-1817-g5d52f35546418a641983572bd3bf8e233a5b1e16
Author: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Date:   Mon Aug 30 14:18:09 2021 +0000

    [contrib] validate_failures.py: Use exit code "2" to indicate regression
    
    ... in the results.  Python exits with code "1" on exceptions and
    internal errors, which we use to detect failure to parse results.
    
    contrib/ChangeLog:
    
            * testsuite-management/validate_failures.py (Main): Use exit code "2"
            to indicate regression.

Diff:
---
 contrib/testsuite-management/validate_failures.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/testsuite-management/validate_failures.py b/contrib/testsuite-management/validate_failures.py
index f2d7b099d78..c4b9fc377ce 100755
--- a/contrib/testsuite-management/validate_failures.py
+++ b/contrib/testsuite-management/validate_failures.py
@@ -645,7 +645,7 @@ def Main(argv):
   if retval:
     return 0
   else:
-    return 1
+    return 2
 
 
 if __name__ == '__main__':

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-14 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-14 14:31 [gcc r14-1817] [contrib] validate_failures.py: Use exit code "2" to indicate regression Maxim Kuvyrkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).