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

Make tests/overflow_large consistently return PASS/FAIL with and without quiet #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nkurz
Copy link
Contributor

@nkurz nkurz commented Mar 22, 2016

There's something off about the logic of tests/overflow_large.c. It was returning FAIL if TESTS_QUIET was set, and PASS if not. This patch moves all the test_pass()/test_fail() calls outside of if (quiet).

I also added a variable "silent", currently set to equal "quiet". As I was testing it, I wanted a variation that told me the specific error was without adding all the status information that of ! quiet.

I think it's a good thing, but this is optional and separate from the logic fix.

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

Successfully merging this pull request may close these issues.

1 participant