summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/test/Jamfile.jam2
-rw-r--r--slicer/test/leak.suppressions1
2 files changed, 3 insertions, 0 deletions
diff --git a/slicer/test/Jamfile.jam b/slicer/test/Jamfile.jam
index 1682b58..8fd70a5 100644
--- a/slicer/test/Jamfile.jam
+++ b/slicer/test/Jamfile.jam
@@ -60,6 +60,8 @@ run preprocessor.cpp
<library>..//adhocutil
<include>..
<library>../tool//slicer-compiler
+ <variant>san:<testing.launcher>LSAN_OPTIONS=suppressions=$(me)/leak.suppressions
+ <variant>san:<dependency>$(me)/leak.suppressions
:
preprocess
;
diff --git a/slicer/test/leak.suppressions b/slicer/test/leak.suppressions
new file mode 100644
index 0000000..5a2035c
--- /dev/null
+++ b/slicer/test/leak.suppressions
@@ -0,0 +1 @@
+leak:libmcpp.so