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

Req: cvise use with runtime errors #140

Open
srinathv opened this issue May 6, 2024 · 1 comment
Open

Req: cvise use with runtime errors #140

srinathv opened this issue May 6, 2024 · 1 comment

Comments

@srinathv
Copy link

srinathv commented May 6, 2024

I am intersted in an example using cvise to reproduce a runtime error. This could be with inaccurate results or a segfault while running the code.

@marxin
Copy link
Owner

marxin commented May 7, 2024

Sure, be my quest. For results accuracy, the best approach would be doing a grep command with expected results (or you can write your own Bash/Python script that will verify the accuracy). For a segfault, the easiest approach would be checking of the result code, something similar to:

echo foo | grep bar
test $? = 1

Does it help? Please share more details if you need an additional guidanance.

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