[llvm-objdump] Disable leak checking on an llvm-objdump test
authorFrancis Ricci <francisjricci@gmail.com>
Tue, 10 Oct 2017 17:50:57 +0000 (17:50 +0000)
committerFrancis Ricci <francisjricci@gmail.com>
Tue, 10 Oct 2017 17:50:57 +0000 (17:50 +0000)
Summary:
This leak doesn't reproduce locally on macOS 10.12, but is causing
buildbot failures. Disable leak checking until it can be fixed.

Reviewers: sqlbyme, qcolombet, enderby, bruno

Reviewed By: bruno

Subscribers: bruno, llvm-commits

Differential Revision: https://reviews.llvm.org/D38699

llvm-svn: 315337

llvm/test/tools/llvm-objdump/macho-LLVM-bundle.test

index b7134307257e506bfbab9dafed4dea5e7e6c53c4..778f77d31348c60dc904006c69809ee50cf31b3e 100644 (file)
@@ -1,5 +1,5 @@
 # REQUIRES: xar
-# RUN: llvm-objdump -macho -archive-headers -section __LLVM,__bundle %p/Inputs/LLVM-bundle.macho-x86_64 | FileCheck %s
+# RUN: env ASAN_OPTIONS=detect_leaks=0 llvm-objdump -macho -archive-headers -section __LLVM,__bundle %p/Inputs/LLVM-bundle.macho-x86_64 | FileCheck %s
 
 # CHECK: For (__LLVM,__bundle) section: xar header
 # CHECK:                   magic XAR_HEADER_MAGIC