3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-23 05:15:30 +00:00

some cleanup, added some rough parser tests, and started altering the engines section

This commit is contained in:
Aki Van Ness 2022-07-29 09:21:45 -04:00
parent 0ab158eea1
commit a0d366e58a
No known key found for this signature in database
GPG key ID: C629E8EC06327BEE
7 changed files with 60 additions and 8 deletions

4
tests/parser/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
*
!Makefile
!.gitignore
!*.sby

2
tests/parser/Makefile Normal file
View file

@ -0,0 +1,2 @@
SUBDIR=parser
include ../make/subdir.mk

13
tests/parser/engines.sby Normal file
View file

@ -0,0 +1,13 @@
[options]
mode bmc
depth 1
expect error
[engines]
smtbmc
[engines bmc]
smtbmc
[engines cover]
smtbmc

4
tests/parser/options.sby Normal file
View file

@ -0,0 +1,4 @@
[options]
mode bmc
depth 1
expect error

8
tests/parser/setup.sby Normal file
View file

@ -0,0 +1,8 @@
[options]
mode bmc
depth 1
expect error
[setup]
enable *

12
tests/parser/stage.sby Normal file
View file

@ -0,0 +1,12 @@
[options]
mode bmc
depth 1
expect error
[stage stage_1]
mode prove
depth 20
timeout 60
expect error
enable *