| commit | 1a84e2dc27cf027cd26bdbcea31c5f79aa0f7d65 | [log] [tgz] |
|---|---|---|
| author | Timothy Trippel <ttrippel@google.com> | Thu Nov 04 06:47:41 2021 +0000 |
| committer | Alphan Ulusoy <alphan@google.com> | Thu Nov 04 19:41:27 2021 -0400 |
| tree | 9b6d275f0d3d419f6d7ad599a4befec5adbc03ca | |
| parent | 81285bf159ad894ae499302b342155f21ef78fda [diff] |
[ottf] Added test status reporting and teardown logic.
When an on-device test completes, the OTTF now reports the test result
over the same interface as the existing test_main.{h,c} framework to
automatically terminate the test. This was accomplished by wrapping the
test_main() test entry point function in a wrapper function that is the
entry point to the FreeRTOS task the test runs in. The wrapper function
is used to report the test status. Additionally by using a wrapper
function, we can maintain the exact same function prototype used for
existing on-device test to minimize overhead migrating chip-level tests
to the OTTF.
Signed-off-by: Timothy Trippel <ttrippel@google.com>

OpenTitan is an open source silicon Root of Trust (RoT) project. OpenTitan will make the silicon RoT design and implementation more transparent, trustworthy, and secure for enterprises, platform providers, and chip manufacturers. OpenTitan is administered by lowRISC CIC as a collaborative project to produce high quality, open IP for instantiation as a full-featured product. See the OpenTitan site and OpenTitan docs for more information about the project.
This repository contains hardware, software and utilities written as part of the OpenTitan project. It is structured as monolithic repository, or “monorepo”, where all components live in one repository. It exists to enable collaboration across partners participating in the OpenTitan project.
The project contains comprehensive documentation of all IPs and tools. You can access it online at docs.opentitan.org.
Have a look at CONTRIBUTING and our documentation on project organization and processes for guidelines on how to contribute code to this repository.
Unless otherwise noted, everything in this repository is covered by the Apache License, Version 2.0 (see LICENSE for full text).