Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I don't see how kyua depends on libexec/atf, and a WITHOUT_TESTS= buildworld completes for me without errors. What exactly are you building, and how does it fail?
I think the patch is probably right in any case, but the justification doesn't make sense to me.
There is another bug in that WITHOUT_TESTS= implies WITHOUT_TESTS_SUPPORT=, but the converse is not true. That's backwards.
I have WITHOUT_TESTS=yes and WITH_TESTS_SUPPORT=yes which adds kyua and libatf, but not atf tools in libexec. On a build without WITHOUT_TESTS=yes the atf tools are placed in the base system as a side effect.
(kyua depends on e.g. libexec/atf-sh for script execution via shebang in /usr/src/tests/sys/netpfil/pf/*.sh)
Meh, sorry for the misinformation. All of this is very difficult to trace.
Simply put: If I delete /usr/libexec/atf* then kyua says:
- kyua debug -k /usr/tests/sys/netpfil/pf/Kyuafile killstate:match
- kyua E: Unknown test case 'killstate:match'.
If the atf tools are there it works as expected so I think this was meant to be clustered together.
I see now. I thought you meant that kyua has a build-time dependency on atf.
I'd commit this with the following log:
atf: Guard libexec/atf with WITH_TESTS_SUPPORT Other atf components are guarded by WITH_TESTS_SUPPORT already.
Is that ok with you? Or, feel free to mail me a patch with the commit log that you want.