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

16 commits

Author SHA1 Message Date
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 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 675dc03dfe tests: Remove unused tool list in test Makefile
The checks for available tools moved to a python script, so need need to
have a copy of the tool list in the Makefile.
2022-06-08 11:32:35 +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
N. Engelhardt 2e0087fd2f
Merge pull request #150 from nakengelhardt/fix_junit_type_assignment
note unexpected return statuses in junit
2022-03-30 12:53:48 +02:00
Jannis Harder 2d3d96478a Tests for --keep-going
This also changes the test Makefile to run `.check.py` files after
running the corresponding `.sby` file to allow more precise testing of
the keep going feature.
2022-03-30 11:26:58 +02:00
N. Engelhardt 008d020c4d note unexpected return statuses in junit 2022-03-29 19:10:29 +02:00
N. Engelhardt 2441940653 ci housekeeping 2022-03-15 15:12:59 +01:00
N. Engelhardt 8a81b61321 fix ci 2022-03-07 08:34:01 +01:00
N. Engelhardt 89ed843ff1 validate junit files (with extra attributes added to schema) 2022-02-22 16:16:37 +01:00
N. Engelhardt b6dc1c9da3 fix test rule 2020-07-24 16:06:44 +02:00
N. Engelhardt 8c5b65cf97 add tests directory with additional tests 2020-07-24 13:51:39 +02:00