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)
Thu, Oct 31, 5:35 PM
Unknown Object (File)
Fri, Oct 25, 4:08 PM
Unknown Object (File)
Thu, Oct 24, 12:37 AM
Unknown Object (File)
Mon, Oct 21, 7:05 PM
Unknown Object (File)
Sun, Oct 20, 12:31 PM
Unknown Object (File)
Sat, Oct 19, 10:01 AM
Unknown Object (File)
Sat, Oct 19, 10:00 AM
Unknown Object (File)
Sat, Oct 19, 10:00 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59227
Build 56114: arc lint + arc unit

Event Timeline

markj requested review of this revision.Aug 29 2024, 2:39 PM
tools/build/options/WITHOUT_ZFS
9–10

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.