VHDL / Compliance-Tests

Tests to evaluate the support of VHDL 2008 and VHDL 2019 features
https://vhdl.github.io/Compliance-Tests/
Apache License 2.0
25 stars 7 forks source link

Improvements to tb_access_system_environment_variables #46

Closed nickg closed 1 year ago

nickg commented 1 year ago

Currently the test requires a file ~/.config/myapp.txt to exist which is not created by the test runner. Instead just create a dummy environment variable in the Python script.

Also added tests for two additional clauses in the LRM about getenv's behaviour.

nickg commented 1 year ago

So this would necessitate that we stick with vunit since it's providing the environment variables, right?

It needs the runner script to set up the required environment variables, but this doesn't make the test itself any more dependent on vunit.

Should we document at the top of the VHDL file which environment variables it needs in case these are ever adapted to not require vunit?

Done.