[compiler-rt] r341738 - [hwasan] Disable print-memory-usage-android test.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 18:16:47 PDT 2018


Author: eugenis
Date: Fri Sep  7 18:16:47 2018
New Revision: 341738

URL: http://llvm.org/viewvc/llvm-project?rev=341738&view=rev
Log:
[hwasan] Disable print-memory-usage-android test.

Requires a rooted device => fails on sanitizer-x86_64-linux-android bot.

Modified:
    compiler-rt/trunk/test/hwasan/TestCases/print-memory-usage-android.c

Modified: compiler-rt/trunk/test/hwasan/TestCases/print-memory-usage-android.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/print-memory-usage-android.c?rev=341738&r1=341737&r2=341738&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/print-memory-usage-android.c (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/print-memory-usage-android.c Fri Sep  7 18:16:47 2018
@@ -2,6 +2,11 @@
 // RUN: %clang_hwasan %s -o %t && %env_hwasan_opts=export_memory_stats=1 %run %t 2>&1 | FileCheck %s
 // REQUIRES: android
 
+// This test requires a rooted device.
+// UNSUPPORTED: android
+
+#include <sys/types.h>
+#include <unistd.h>
 #include <stdlib.h>
 #include <stdio.h>
 




More information about the llvm-commits mailing list