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

Allow output.txt contents to be accessible from post_check function #332

Closed
krishnan-gopal opened this issue May 2, 2018 · 1 comment
Closed
Assignees

Comments

@krishnan-gopal
Copy link

krishnan-gopal commented May 2, 2018

The simulation log output.txt file is empty (i.e not yet flushed) at the time when post_check is invoked for that simulation. The function needs to read the contents of this file in order to decide on PASS/FAIL in certain cases.
I like that fact that the post_check output itself goes to output.txt. But we still need a way to access the simulation transcript.
Maybe the post_check function can access the transcript<> file rather than output.txt ?

@kraigher
Copy link
Collaborator

kraigher commented May 6, 2018

The post_check function now accepts an output argument which is filled in with the full output string (The contents of output.txt upto calling post_check)

You can read about it here once Travis updates our website in a few minutes:

nathanaelhuffman pushed a commit to nathanaelhuffman/vunit that referenced this issue Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants