Allow running beadm tests in tree
Currently, it is possible to run the tests in the following ways:
- Install the zfs-with-beadm ebuild with
USE=test-suite
and run the installed tests (the CI does this). - Install the
beadm
ebuild withUSE=test-suite
and run the installed tests (the CI should be changed to do this). - Build and install only
beadm
manually (usingmeson
) and run the installed tests. - Build the zfs-with-beadm manually (using autotools) and run the installed tests.
- Build the zfs-with-beadm manually (using autotools) and run the tests without installation.
It is probably not possible to build only beadm
manually (using meson
) and run the tests without installation, as meson
puts the built binaries in a different place than the autotools build system puts them, so the test suite probably cannot find them.
Make that possible. This would make running the tests during development slightly faster (no need to install beadm
and the tests in a separate BE).