3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-05 22:14:08 +00:00
Commit graph

15 commits

Author SHA1 Message Date
Jannis Harder 52184e5bf0 Initial support for a multi-task property status database
This adds initial support for an sqlite database that is shared across
multiple tasks of a single SBY file and that can track the status of
individual properties.

The amount of information tracked in the database is currently quite
minimal and depends on the engine and options used. This can be
incrementally extended in the future.

The ways in which the information in the database can be queries is even
more limited for this initial version, consisting of a single '--status'
option which lists all properties and their status.
2024-02-20 13:34:58 +01:00
Jannis Harder 6f0f2645c2 tests: Support testing an installed SBY using the SBY_CMD make variable 2024-01-19 14:51:16 +01:00
Jannis Harder 90616c280b tests: Do not run the same SBY task multiple times in parallel 2022-10-20 14:18:51 +02:00
Jannis Harder 586be8ba96 tests: Fix test_rules.py after sby config parser changes 2022-09-03 00:03:28 +02:00
Jannis Harder bd88454d7d
Merge pull request #196 from jix/parallel_jobserver
Run tasks in parallel and integrate with the make jobserver
2022-08-19 14:21:53 +02:00
Jannis Harder b0786aea43 Make jobserver integration
Only implements the POSIX jobserver and will break on windows.
Unbreaking it on windows will be done as a follow up.

Not used for autotune, that needs some more changes.
2022-08-18 14:40:00 +02:00
Jannis Harder ea84c67f95 tests: Ignore .sby files starting with skip_ 2022-08-18 14:07:13 +02:00
N. Engelhardt 1cf206fc1c add cvc5 executable to required tool mapping 2022-07-25 17:01:17 +02:00
Jannis Harder ea7fc7dc2c tests: Windows fixes
Make tests runnable on Windows, as long as a unix like environment as
e.g. provided by MSYS2 is available.
2022-07-05 15:34:27 +02:00
Jannis Harder 499371fd39 Use the test Makefile for all examples
* Rename and move sbysrc/demo[123].sby to docs/examples/demos
    * Make them use multiple tasks for multiple engines
* Scan docs/examples for sby files for make test
* `make ci` is now `NOSKIP` by default
* Skip scripts using `verific` w/o yosys verific support
    * This does not fail even with NOSKIP set
2022-06-13 13:42:58 +02:00
Jannis Harder 34d6adf098 tests: Move required tool checks from rule generation to execution
This avoids regenerating the test makefile rules when the set of
installed tools changes and is a bit simpler overall.
2022-06-07 14:29:25 +02:00
Jannis Harder d398a3c2df tests: Fail on CI when any required tool is missing 2022-06-02 16:38:21 +02:00
Jannis Harder 00efdecb4b tests: Check for btorsim --vcd 2022-06-02 16:38:21 +02:00
Jannis Harder dc22d97362 Better checking of available solvers
Check for required auxiliary tools and always regenerate the make rules
when the set of available tools changes.
2022-05-30 15:02:26 +02:00
Jannis Harder 8da6f07cb3 Refactor tests
Organize tests into subdirectories and use a new makefile that scans
.sby files and allows selecting tests by mode, engine, solver and/or
subdirectory. Automatically skips tests that use engines/solvers that
are not found in the PATH.

See `cd tests; make help` for a description of supported make targets.
2022-04-11 17:50:38 +02:00