-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Scanner is filename case sensitive #138
Comments
I think we should change the rule to be based on the prescence of runner_cfg. The old rule was created before there was any runner_cfg. |
A rule based on I was surprised after my discussion about #130 when legacy testbenches were scanned/discovered by VUnit when they did not have |
I will base the rule entirely on the availability of @cmarqu This will affect the use of test benches where the tests are not at the top level. Your nested module with the Sounds good? |
Sounds good to me, yes. |
I thought that based on previous discussion, including the
runner_cfg
generic would be enough for VUnit to pickup a testbench to run tests on. It appears that both the entity and filename of the testbench must also meet the following rules:This was a problem for me because a testbench was named
myblock_TB.vhd
instead ofmyblock_tb.vhd
.I suggest that the scanner allow any case when filtering on tb_* or *_tb.
It might be worth considering bypassing the naming rules if the entity contains the
runner_cfg
generic.Regardless, a note should also be added to the documentation that the testbench files and entities must be named in a specific way in order for the scanner to pick them up.
The text was updated successfully, but these errors were encountered: