[compiler-rt] r371338 - Enable LSan tests for NetBSD/i386

Kamil Rytarowski via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 8 10:07:28 PDT 2019


Author: kamil
Date: Sun Sep  8 10:07:28 2019
New Revision: 371338

URL: http://llvm.org/viewvc/llvm-project?rev=371338&view=rev
Log:
Enable LSan tests for NetBSD/i386

Modified:
    compiler-rt/trunk/test/lsan/lit.common.cfg.py

Modified: compiler-rt/trunk/test/lsan/lit.common.cfg.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lsan/lit.common.cfg.py?rev=371338&r1=371337&r2=371338&view=diff
==============================================================================
--- compiler-rt/trunk/test/lsan/lit.common.cfg.py (original)
+++ compiler-rt/trunk/test/lsan/lit.common.cfg.py Sun Sep  8 10:07:28 2019
@@ -70,7 +70,7 @@ config.substitutions.append( ("%clangxx_
 # LeakSanitizer tests are currently supported on x86-64 Linux, PowerPC64 Linux, arm Linux, mips64 Linux, and x86_64 Darwin.
 supported_linux = config.host_os is 'Linux' and config.host_arch in ['x86_64', 'ppc64', 'ppc64le', 'mips64', 'arm', 'armhf', 'armv7l']
 supported_darwin = config.host_os is 'Darwin' and config.target_arch is 'x86_64'
-supported_netbsd = config.host_os is 'NetBSD' and config.target_arch is 'x86_64'
+supported_netbsd = config.host_os is 'NetBSD' and config.target_arch in ['x86_64', 'i386']
 if not (supported_linux or supported_darwin or supported_netbsd):
   config.unsupported = True
 




More information about the llvm-commits mailing list