Skip to content
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

VHDL-2019: Garbage Collection test exhausts all memory to fail #28

Open
bpadalino opened this issue Mar 7, 2023 · 1 comment
Open

Comments

@bpadalino
Copy link
Contributor

The garbage collection test (tb_030) requires the exhaustion of all memory to fail. For some simulators, the heap can be set and limited. For others, like ghdl, it doesn't allow this from a command line. It's recommended that the amount of heap is limited via ulimit under linux for this test. For systems with a large amount of memory, this test may pass without garbage collection actually being implemented.

I am unsure how to go about doing this within the simulation framework.

@umarcor
Copy link
Member

umarcor commented Mar 7, 2023

See https://github.com/VHDL/Compliance-Tests/blob/main/run.py#L14-L18. That allows to detect when we are using GHDL and conditionally do check_call(['ulimit', '-m', ...]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants