Skip to content

add SILENT_ENSURE macro #10

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

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

Conversation

felipecruz
Copy link
Contributor

I'm testing a generator like function, that yields char by char and I felt the need to SILENT_ENSURE (c == b) instead of ENSURE which prints #expr every time. I know thc has a non verbose mode but in this case I do want verbose output with specific silent ensures.

@hltbra
Copy link
Owner

hltbra commented Jun 21, 2013

What's the reason to have some tests with output and others with no output? What's the point here? Have you thought about this silent thing being an option to thc_run(), like thc_run(THC_SILENT)?

(Sorry for taking so long, @felipecruz, but I was in a hurry because I moved to NYC)

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.

2 participants