commit | 1b73f8090033839b73de6b5954702137d723948e | [log] [tgz] |
---|---|---|
author | Timothy Trippel <ttrippel@google.com> | Mon Nov 01 23:16:50 2021 +0000 |
committer | Srikrishna Iyer <46467186+sriyerg@users.noreply.github.com> | Tue Nov 02 23:52:48 2021 -0700 |
tree | a904fd2392657c4d53c525e1dc7b11d14e32ad65 | |
parent | a830e4615d3dcf1deb4e8ce2816c28f6f79d5b3e [diff] |
[sw/testing] Make `CHECK_BUFFER` consistent with other `CHECK*` macros. The `CHECK_BUFFER(...)` macro in `sw/device/lib/testing/check.h` has a slightly different format than other `CHECK*(...)` macros. Specifically it does not set the test status directly, and does not support printing a user-supplied error message. The result tests having to call the `CHECK_BUFFER(...)` macro followed by the `CHECK(...)` macro in test code. This commit makes the `CHECK_BUFFER(...)` macro look more like the `CHECK(...)` macro, thereby fixing #9002. 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).