<div dir="ltr">Thanks! </div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 4, 2016 at 1:45 AM, Chandler Carruth via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: chandlerc<br>
Date: Sat Jun  4 03:45:32 2016<br>
New Revision: 271785<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=271785&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=271785&view=rev</a><br>
Log:<br>
Fix the test for printing the memory profile. This fuctionality is only<br>
available along side the leak checking, so use the REQUIRES for that.<br>
<br>
Also, use %run as other tests do when launching the built binary.<br>
<br>
This fixes check-asan for me on Linux and looks like it should fix the<br>
linux sanitizer bots as well.<br>
<br>
Modified:<br>
    compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc<br>
<br>
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc?rev=271785&r1=271784&r2=271785&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc?rev=271785&r1=271784&r2=271785&view=diff</a><br>
==============================================================================<br>
--- compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc (original)<br>
+++ compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc Sat Jun  4 03:45:32 2016<br>
@@ -1,5 +1,9 @@<br>
+// Printing memory profiling only works in the configuration where we can<br>
+// detect leaks.<br>
+// REQUIRES: leak-detection<br>
+//<br>
 // RUN: %clangxx_asan %s -o %t<br>
-// RUN: %t 2>&1 | FileCheck %s<br>
+// RUN: %run %t 2>&1 | FileCheck %s<br>
 #include <sanitizer/common_interface_defs.h><br>
<br>
 #include <stdio.h><br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>