diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-05-19 00:23:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 00:23:19 +0300 |
commit | 589a6249f0ffb0295c3f15233d1b6b3af9e4de16 (patch) | |
tree | 7abdbafcc8773a63e92741f88984001e4b8e43d8 /docs/markdown/snippets | |
parent | b4b1a2c5a145c1459fc4563a289e164e23bd6a02 (diff) | |
parent | af787874a8e4eab8222382128ccfb5549b31c801 (diff) | |
download | meson-589a6249f0ffb0295c3f15233d1b6b3af9e4de16.zip meson-589a6249f0ffb0295c3f15233d1b6b3af9e4de16.tar.gz meson-589a6249f0ffb0295c3f15233d1b6b3af9e4de16.tar.bz2 |
Merge pull request #5986 from dcbaker/fix-tests-with-cross-binary-arguments
Fix tests with cross binary arguments
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/exe_wrapper_for_cross_built_tests.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/markdown/snippets/exe_wrapper_for_cross_built_tests.md b/docs/markdown/snippets/exe_wrapper_for_cross_built_tests.md new file mode 100644 index 0000000..ebdd8a7 --- /dev/null +++ b/docs/markdown/snippets/exe_wrapper_for_cross_built_tests.md @@ -0,0 +1,9 @@ +## Test scripts are given the exe wrapper if needed + +Meson will now set the `MESON_EXE_WRAPPER` as the properly wrapped and joined +representation. For Unix-like OSes this means python's shelx.join, on Windows +an implementation that attempts to properly quote windows argument is used. +This allow wrapper scripts to run test binaries, instead of just skipping. + +for example, if the wrapper is `['emulator', '--script']`, it will be passed +as `MESON_EXE_WRAPPER="emulator --script"`. |