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

Unable to capture xsim output on test failure #37

Open
xmos-jmccarthy opened this issue Jun 26, 2023 · 0 comments
Open

Unable to capture xsim output on test failure #37

xmos-jmccarthy opened this issue Jun 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@xmos-jmccarthy
Copy link

When a test fails there does not appear to be a way to get the xsim output. This is extremely useful when trying to debug new tests.

It appears that capturing the output of the pytest call allows you to look at output if capfd.disabled() is set when calling run_with_pyxsim as a temporary workaround.

pytest 2>&1 | tee text.txt

@xross xross added the bug Something isn't working label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants