| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| r"""Command-line tool to parse and process testplan Hjson |
| from testplanner import testplan_utils |
| parser = argparse.ArgumentParser( |
| formatter_class=argparse.RawDescriptionHelpFormatter) |
| help='input testplan file (*.hjson)') |
| help='input regression results file (*.hjson)') |
| type=argparse.FileType('w'), |
| help='output HTML file (without CSS)') |
| args = parser.parse_args() |
| testplan_utils.gen_html(args.testplan, args.regr_results, outfile) |
| if __name__ == '__main__': |