1
0
mirror of synced 2026-03-07 11:49:51 +00:00
Files
YosysHQ.yosys/tests/functional
Gus Smith 9f77465170 Add test
2026-01-06 16:19:04 -08:00
..
2025-11-29 16:17:27 -08:00
2025-11-29 16:06:18 -08:00
2025-11-29 16:07:18 -08:00
2026-01-06 16:19:04 -08:00

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.