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

support for disabling/enabling of tests based on #[cfg(target_os = ...)] #54

Open
budziq opened this issue Aug 22, 2017 · 0 comments
Open

Comments

@budziq
Copy link
Owner

budziq commented Aug 22, 2017

Currently rust-cookbook syslog example is an awful hackjob due to skeptic not bing able to selectively run tests that make sense only on selected #[cfg(target_os] (syslog makes sense only on linux wile the example is sprinkled with ifdefs to make it compile everywhere).

Skeptic should be able to distinguish which examples make no sens and skip building these (most likely with snippet annotation similar to the no_run or ignore such as cfg_target_os_linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant