Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
## Prerequisites
* Install Docker:
* On Linux, use your package manager.
* On Windows, install WSL (Windows Subsystem for Linux), then install Docker Desktop.
## Build the Docker Image
In the main directory (HardwareDataLogger), run:
```
docker-compose build dev && docker-compose up -d --remove-orphans && docker-compose exec dev bash
```
It takes time to build the image the first time, but once it's done, you should be logged in with the entire environment set up.
## Run Unit Tests
```
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja test_biz && ninja test_dev && ninja test_drv
```
## Run Python Static Analysis
```
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja pstatic
```
## Run Code Coverage
```
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja test_biz && ninja test_dev && ninja test_drv && ninja cov
```
d4cbf8c64This file is pinned to the selected release. Download the original to open it in your design tool.