Improve template path handling. Add synthesis tests

This commit is contained in:
Alex Mykyta
2022-02-23 22:53:54 -08:00
parent e7e941d27b
commit 5324b594bf
32 changed files with 274 additions and 162 deletions

View File

@@ -11,6 +11,20 @@ https://fpgasoftware.intel.com/ and is sufficient to run unit tests. You will ne
to generate a free license file to unlock the software: https://licensing.intel.com/psg/s/sales-signup-evaluationlicenses
## Vivado (optional)
To run synthesis tests, Vivado needs to be installed and visible via the PATH environment variable.
Vivado can be downloaded for free from: https://www.xilinx.com/support/download.html
To skip synthesis tests, export the following environment variable:
```bash
export SKIP_SYNTH_TESTS=1
```
## Python Packages
Install dependencies required for running tests
@@ -18,6 +32,8 @@ Install dependencies required for running tests
python3 -m pip install test/requirements.txt
```
# Running tests
Tests can be launched from the test directory using `pytest`.
@@ -36,6 +52,7 @@ pytest
```
# Test organization
The goal for this test infrastructure is to make it easy to add small-standalone