yosys/tests/functional
Emily Schmidt 5a476a8d29 functional tests: run from make tests but not smtlib/rkt tests 2024-09-04 10:30:08 +01:00
..
.gitignore smtr: Add rkt to functional tests 2024-09-03 11:32:02 +01:00
README.md rewrite functional backend test code in python 2024-08-21 11:03:29 +01:00
conftest.py functional tests: run from make tests but not smtlib/rkt tests 2024-09-04 10:30:08 +01:00
picorv32.v add picorv test to functional backend 2024-08-21 11:04:11 +01:00
picorv32_tb.v add picorv test to functional backend 2024-08-21 11:04:11 +01:00
rkt_vcd.py smtr: Add rkt to functional tests 2024-09-03 11:32:02 +01:00
rtlil_cells.py add picorv test to functional backend 2024-08-21 11:04:11 +01:00
run-test.sh functional tests: run from make tests but not smtlib/rkt tests 2024-09-04 10:30:08 +01:00
smt_vcd.py add support for initializing registers and memories to the functional backend 2024-08-21 11:03:29 +01:00
smtio.py rewrite functional backend test code in python 2024-08-21 11:03:29 +01:00
test_functional.py functional tests: run from make tests but not smtlib/rkt tests 2024-09-04 10:30:08 +01:00
vcd_harness.cc functional backend: missing includes for stl containers 2024-08-22 11:13:58 +01:00

README.md

Tests for the functional backend use pytest as a testrunner.

Run with pytest -v

Pytest options you might want:

  • -v: More progress indication.

  • --basetemp tmp: Store test files (including vcd results) in tmp. CAREFUL: contents of tmp will be deleted

  • -k <pattern>: Run only tests that contain the pattern, e.g. -k cxx or -k smt or -k demux or -k 'cxx[demux

  • -s: Don't hide stdout/stderr from the test code.

Custom options for functional backend tests:

  • --per-cell N: Run only N tests for each cell.