[compiler-rt] r271785 - Fix the test for printing the memory profile. This fuctionality is only

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 18:38:13 PDT 2016


Thanks!

On Sat, Jun 4, 2016 at 1:45 AM, Chandler Carruth via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: chandlerc
> Date: Sat Jun  4 03:45:32 2016
> New Revision: 271785
>
> URL: http://llvm.org/viewvc/llvm-project?rev=271785&view=rev
> Log:
> Fix the test for printing the memory profile. This fuctionality is only
> available along side the leak checking, so use the REQUIRES for that.
>
> Also, use %run as other tests do when launching the built binary.
>
> This fixes check-asan for me on Linux and looks like it should fix the
> linux sanitizer bots as well.
>
> Modified:
>
> compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc
>
> Modified:
> compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc
> URL:
> 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
>
> ==============================================================================
> ---
> compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc
> (original)
> +++
> compiler-rt/trunk/test/asan/TestCases/Linux/print_memory_profile_test.cc
> Sat Jun  4 03:45:32 2016
> @@ -1,5 +1,9 @@
> +// Printing memory profiling only works in the configuration where we can
> +// detect leaks.
> +// REQUIRES: leak-detection
> +//
>  // RUN: %clangxx_asan %s -o %t
> -// RUN: %t 2>&1 | FileCheck %s
> +// RUN: %run %t 2>&1 | FileCheck %s
>  #include <sanitizer/common_interface_defs.h>
>
>  #include <stdio.h>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160606/481abc51/attachment.html>


More information about the llvm-commits mailing list