[vlc-commits] test: ignore only memory leaks in run_vlc
Rémi Denis-Courmont
git at videolan.org
Sun Sep 22 08:56:00 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 22 09:54:05 2019 +0300| [c55e1f03472389bd990bff059c8411199245ce54] | committer: Rémi Denis-Courmont
test: ignore only memory leaks in run_vlc
We need to ignore leaks there because Qt has always leaked.
However, the return code for other more critical errors than leaks must
not be zero. Otherwise the test is effectively disabled when ASan is
present.
This change has no effects without ASan.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c55e1f03472389bd990bff059c8411199245ce54
---
test/run_vlc.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/run_vlc.sh b/test/run_vlc.sh
index ca3689bc6d..5a784460bd 100755
--- a/test/run_vlc.sh
+++ b/test/run_vlc.sh
@@ -9,7 +9,7 @@ $VLC -Idummy vlc://quit
$VLC -vv -Irc,oldrc vlc://quit
$VLC -vv -Irc,oldrc --play-and-exit vlc://nop
-LSAN_OPTIONS=exitcode=0
-export LSAN_OPTIONS
+ASAN_OPTIONS="detect_leaks=0"
+export ASAN_OPTIONS
$VLC --play-and-exit vlc://nop
More information about the vlc-commits
mailing list