# Copyright 2022 Thales Silicon Security # # Licensed under the Solderpad Hardware Licence, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # SPDX-License-Identifier: Apache-2.0 WITH SHL-2.0 # You may obtain a copy of the License at https://solderpad.org/licenses/ # # Original Author: Yannick Casamatta (yannick.casamatta@thalesgroup.com) import report_builder as rb metric = rb.TableStatusMetric('') metric.add_fail('Job has failed before end of script') report = rb.Report() report.add_metric(metric) report.dump()