diff options
author | Vratko Polak <vrpolak@cisco.com> | 2023-07-17 12:47:30 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2023-07-17 12:47:30 +0200 |
commit | c1ddda9b19f448c6c38ad3705f50b6fffe9cb80e (patch) | |
tree | e711085e39c9a9efec69983f682254078772f32a /resources/tools | |
parent | 43bdc7469309d4860bb515056b38714e3a6e6b04 (diff) |
feat(crc): print warnings in crc checker script
Robot already prints warnings when running tests,
but not many people are looking at robot console output.
This makes the warnings visible also in VPP API CRC job console log.
Change-Id: I9044a2970f46e132ec80ae0faa2e0adacc889447
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/integrated/check_crc.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/tools/integrated/check_crc.py b/resources/tools/integrated/check_crc.py index 6baa7a190d..01a557c30c 100644 --- a/resources/tools/integrated/check_crc.py +++ b/resources/tools/integrated/check_crc.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2023 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -47,6 +47,7 @@ def main(): checker = VppApiCrcChecker(api_dir) try: checker.report_initial_conflicts(report_missing=True) + checker.print_warnings() except RuntimeError as err: stderr_lines = [ f"{err!r}", |