meson.eclass: Set exe_wrapper
Currently no meson packages actually run any tests even if they have
them because we don't set a wrapper for running tests in the
sysroot. This causes meson to skip all the tests. Fix this by adding a
script to common-mk and passing it to the cross-file.
This also allows us to run meson unit tests for ARM boards.
Because this is modified from upstream it must be moved to
eclass-overlay
BUG=chromium:1227738
TEST=Ran tests on a bunch of meson packages, checked that they aren't
all skipped
Cq-Depend: 3054152, 3057340, 3058026, 3054230
Change-Id: I47c09876252ba56b2270c2251a2f60f0c132de95
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/3062147
Tested-by: Fergus Dall <sidereal@google.com>
Commit-Queue: Fergus Dall <sidereal@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed