Groups
Groups
Sign in
Groups
Groups
SVUnit User Group
Conversations
Labels
About
Send feedback
Help
Specifying unit tests to be run
91 views
Skip to first unread message
JA
unread,
Oct 22, 2021, 4:52:00 PM
10/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SVUnit User Group
I have a testbench file
unit_test.sv
which defines multiple unit tests {
t0, t1, ... tN
}.
Can I specify a single test (or a subset of tests) for SVUnit to execute? e.g.
runSVUnit -t
unit_test.sv
(t1)
runSVUnit -t
unit_test.sv
(t1,t5)
The
relevant section of the user guide
shows the use of the -t switch where testcases reside in separate files.
Tudor Timi
unread,
Oct 24, 2021, 2:57:32 AM
10/24/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SVUnit User Group
This is something I've been missing occasionally as well. Already on the TODO list:
https://github.com/svunit/svunit/issues/80
Tudor Timi
unread,
Oct 24, 2021, 2:58:36 AM
10/24/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SVUnit User Group
Some of my colleagues would also like to see this implemented. I guess it's time to work on it, then.
JA
unread,
Oct 27, 2021, 11:43:28 AM
10/27/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SVUnit User Group
Hi Tudor, thanks for your work on this project. I hadn't seen that github issue.
Tudor Timi
unread,
Nov 1, 2021, 6:28:34 PM
11/1/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SVUnit User Group
An initial version of this is nearly done. You can give it a try by checking out the following branch:
https://github.com/svunit/svunit/tree/add-filter-option-to-run-script
I want to update the CHANGELOG and the user guide, and maybe polish the error messages before merging.
Reply all
Reply to author
Forward
0 new messages