-
Notifications
You must be signed in to change notification settings - Fork 41
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
Skip a test program if ATF_SHELL is not found #177
Comments
There is nothing Kyua can do about this because Kyua should not be inspecting the contents of the test, much less playing heuristics with the shebang line. I guess You can avoid this by adding a |
I tried that, but it doesn't work because Kyua will still try to list test cases. It seems that |
Oh I see. Yikes. There is no concept of skipping a whole test program during listing. Not sure how this ought to be fixed... |
Test programs that aren't compatible with /bin/sh can specify a different shell using
-s
. For example:#!/usr/libexec/atf-sh -s/usr/local/bin/ksh93
But if that shell is not found, then Kyua cannot list the test cases, and will report the test as broken. Instead, it should simply skip the entire test program.
The text was updated successfully, but these errors were encountered: