diff --git a/tools/ci/check_copyright_ignore.txt b/tools/ci/check_copyright_ignore.txt index af366c6fdf..e8eb6406c0 100644 --- a/tools/ci/check_copyright_ignore.txt +++ b/tools/ci/check_copyright_ignore.txt @@ -2997,7 +2997,6 @@ tools/ci/check_build_warnings.py tools/ci/check_callgraph.py tools/ci/check_deprecated_kconfigs.py tools/ci/check_executables.py -tools/ci/check_public_headers.py tools/ci/check_readme_links.py tools/ci/check_rules_yml.py tools/ci/check_soc_struct_headers.py diff --git a/tools/ci/check_public_headers.py b/tools/ci/check_public_headers.py index 9b170d1b16..940998d511 100644 --- a/tools/ci/check_public_headers.py +++ b/tools/ci/check_public_headers.py @@ -2,19 +2,8 @@ # # Checks all public headers in IDF in the ci # -# Copyright 2020 Espressif Systems (Shanghai) PTE LTD -# -# 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD +# SPDX-License-Identifier: Apache-2.0 # from __future__ import print_function, unicode_literals @@ -213,7 +202,7 @@ class PublicHeaderChecker: self.log('{}: Error directive failure: OK'.format(header)) return self.COMPILE_ERR_ERROR_MACRO_HDR_OK self.log('{}: FAILED: compilation issue'.format(header), True) - self.log(err) + self.log(err, True) return self.COMPILE_ERR_HDR_FAILED # compile with C compiler, outputs to another temp file rc, c99_out, err, c99_out_file = exec_cmd_to_temp_file([self.gcc, '--std=c99'] + all_compilation_flags)