meson: use a feature option for tests instead of boolean #244
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dcbaker/pkgconf:tests-feature"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This allows tests to be autodetected gracefully, which is particularly
convenient for kyua and atf_sh which are fairly painful to build and
install by hand. Those who want to ensure tests are enabled or disabled
may pass
-Dtests=enabled
or-Dtests=disabled
respectively.This does require a modest bump in the required meson version to 0.49,
which was released at the end of 2018, so roughly 4 years ago.
@dcbaker @ariadne, this PR broke Windows build. I'll try fixing it.
just delete the -Dtests=false argument. with this change it’s no longer needed
That's not enough. meson.build from tests directory tries to run chmod command unconditionally. That doesn't work on Windows.
sigh, okay. ican fix it tomorrow if it lik prefer