-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move functions into lib-sharness/functions.sh #90
Conversation
Ok, so there is an issue with variables that appear unused. And I think another issue is that some functions, that are not public, should not be in "functions.sh". |
Other issues related to the Makefile:
|
This makes it easier to maintain Sharness, as it is more compatible with the Git test suite and less code is in "sharness.sh". The downside is that it is not possible anymore to install Sharness by just copying "sharness.sh".
This is to make Shellcheck happy.
This is to make Shellcheck happy.
5bb7df7
to
0b5a6b7
Compare
I think I fixed everything. And I think I will merge this in a few weeks as I want to add more things into the new |
This might be a bit disruptive when Sharness is not installed in the same directory as the test scripts. In this case the best is perhaps to set
(See also how it's done in test/simple.t and in the Another way would be to have symlinks to both |
Huge downside |
Installing sharness.sh hasn't worked since felipec#90
This seems to be the most recent version that has a decent per-project install, before felipec/sharness#90
@hsanjuan Actually I partially reverted some of those changes. Moving back Doing that See 275059d. |
This makes it easier to maintain Sharness, as it is more
compatible with the Git test suite and less code is in
"sharness.sh".
The downside is that it is not possible anymore to install
Sharness by just copying "sharness.sh".