diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-10-07 13:13:54 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-05-18 13:53:58 -0700 |
commit | af787874a8e4eab8222382128ccfb5549b31c801 (patch) | |
tree | 6f67ec9f0a3f6b48681d7f981e83732266916456 /docs/markdown/Reference-manual.md | |
parent | 0ec94ca0629415d4b555e8ef38a5093a65e0539e (diff) | |
download | meson-af787874a8e4eab8222382128ccfb5549b31c801.zip meson-af787874a8e4eab8222382128ccfb5549b31c801.tar.gz meson-af787874a8e4eab8222382128ccfb5549b31c801.tar.bz2 |
pass exe_wrapper to test scripts through the environment
This adds a new MESON_EXE_WRAPPER environment variable containing the
string form of the exe_wrapper, if there is an exe_wrapper defined.
Fixes #4427
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 1bd5ff0..9b5d657 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1613,6 +1613,13 @@ object](#build-target-object) returned by object](#external-program-object) returned by [`find_program()`](#find_program). +*Since 0.55.0* When cross compiling, if an exe_wrapper is needed and defined +the environment variable `MESON_EXE_WRAPPER` will be set to the string value +of that wrapper (implementation detail: using `mesonlib.join_args`). Test +scripts may use this to run cross built binaries. If your test needs +`MESON_EXE_WRAPPER` in cross build situations it is your responsibility to +return code 77 to tell the harness to report "skip" + By default, environment variable [`MALLOC_PERTURB_`](http://man7.org/linux/man-pages/man3/mallopt.3.html) is automatically set by `meson test` to a random value between 1..255. |