summaryrefslogtreecommitdiff
path: root/docs/yaml
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-10 16:56:29 +0000
committerEli Schwartz <eschwartz93@gmail.com>2024-02-23 15:59:22 -0500
commit8ba0ea68017b489b0a461abbd375f319dc7a48f3 (patch)
treec95c54fbdf9b86c3722efcf095407fe3674199c4 /docs/yaml
parent715dc27b2b8432d9749df985f262de8a8347c59b (diff)
downloadmeson-8ba0ea68017b489b0a461abbd375f319dc7a48f3.tar.gz
mtest: set MSAN_OPTIONS to abort by default
Followup to 7b7d2e060b447de9c2642848847370a58711ac1c which handles ASAN and UBSAN. It turns out that MSAN needs the same treatment. I've checked other sanitizers like HWASAN and TSAN - it looks like they may both need it too, but Meson doesn't currently suppose those anyway (see https://github.com/mesonbuild/meson/pull/12648). Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'docs/yaml')
-rw-r--r--docs/yaml/functions/test.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/yaml/functions/test.yaml b/docs/yaml/functions/test.yaml
index 622b7c3b0..d56822e58 100644
--- a/docs/yaml/functions/test.yaml
+++ b/docs/yaml/functions/test.yaml
@@ -33,9 +33,10 @@ description: |
test(..., env: nomalloc, ...)
```
- By default, the environment variables `ASAN_OPTIONS` and `UBSAN_OPTIONS` are
- set to enable aborting on detected violations and to give a backtrace. To suppress
- this, `ASAN_OPTIONS` and `UBSAN_OPTIONS` can be set in the environment.
+ By default, the environment variables `ASAN_OPTIONS`, `UBSAN_OPTIONS`,
+ and `MSAN_OPTIONS` are set to enable aborting on detected violations and to
+ give a backtrace. To suppress this, `ASAN_OPTIONS`, `UBSAN_OPTIONS`, or
+ `MSAN_OPTIONS` can be set in the environment.
In addition to running individual executables as test cases, `test()`
can also be used to invoke an external test harness. In this case,