Page MenuHomeFreeBSD

src.conf: Add a MK_ZFS_TESTS knob
ClosedPublic

Authored by markj on Thu, Aug 29, 2:39 PM.
Tags
None
Referenced Files
F97299963: D46476.diff
Sat, Sep 28, 1:28 PM
Unknown Object (File)
Fri, Sep 13, 5:40 AM
Unknown Object (File)
Wed, Sep 11, 1:11 AM
Unknown Object (File)
Sun, Sep 8, 10:26 AM
Unknown Object (File)
Sun, Sep 8, 10:24 AM
Unknown Object (File)
Sun, Sep 8, 10:23 AM
Unknown Object (File)
Sun, Sep 8, 10:23 AM
Unknown Object (File)
Sun, Sep 8, 10:23 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 59229
Build 56116: arc lint + arc unit

Event Timeline

markj requested review of this revision.Thu, Aug 29, 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.Fri, Sep 6, 1:50 PM
This revision was automatically updated to reflect the committed changes.