Page MenuHomeFreeBSD

src.conf: Add a MK_ZFS_TESTS knob
ClosedPublic

Authored by markj on Aug 29 2024, 2:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 10:03 PM
Unknown Object (File)
Nov 21 2024, 1:29 AM
Unknown Object (File)
Nov 16 2024, 1:33 PM
Unknown Object (File)
Oct 31 2024, 5:35 PM
Unknown Object (File)
Oct 25 2024, 4:08 PM
Unknown Object (File)
Oct 24 2024, 12:37 AM
Unknown Object (File)
Oct 21 2024, 7:05 PM
Unknown Object (File)
Oct 20 2024, 12:31 PM
Subscribers

Details

Summary

The in-tree ZFS test suite is somewhat outdated and I see a number of
failures there. I tend to think that we want to integrate the OpenZFS
test suite somehow, replacing the legacy one, though it's also possible
to run that as a separate test suite.

In any case, if one wants to run the OpenZFS test suite separately, it's
useful to be able to disable installation of the legacy ZFS test suite,
so let's provide a src.conf option to do that.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Aug 29 2024, 2:39 PM
tools/build/options/WITHOUT_ZFS
9–10 ↗(On Diff #142591)

This text should be generated automatically by makeman

Remove an unneeded doc update.

it's useful to be able to disable installation of the legacy ZFS test suite

One other reason it's useful is to save time - the ZFS tests take a very long time to run when the kernel is compiled with sanitizers enabled.

Any objections to this? I'd like to have a separate discussion about the future of the "legacy" test suite versus OpenZFS' test suite, but this option is useful to me regardless.

This seems reasonable. Jenkins already disables the ZFS tests for normal runs.

This revision is now accepted and ready to land.Sep 6 2024, 1:50 PM
This revision was automatically updated to reflect the committed changes.