[compiler-rt] 8e8e46a - [compiler-rt][sanitizers] Mark three tests as unsupported on Android

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 12:24:41 PST 2025


Author: Aiden Grossman
Date: 2025-11-07T12:24:36-08:00
New Revision: 8e8e46aeb608e4f6eb2cfdd0a4d9542b43f0d7dd

URL: https://github.com/llvm/llvm-project/commit/8e8e46aeb608e4f6eb2cfdd0a4d9542b43f0d7dd
DIFF: https://github.com/llvm/llvm-project/commit/8e8e46aeb608e4f6eb2cfdd0a4d9542b43f0d7dd.diff

LOG: [compiler-rt][sanitizers] Mark three tests as unsupported on Android

These tests were already XFailed on Android, but are unresolved when
running under the internal shell rather than failing due to missing file
paths, which is likely the same reason they are xfailed. This does make
it slightly worse if someone accidentally fixes these tests for Android
without realizing it, but the alternative is likely fixing the
functionality/test on Android.

Reviewers: vitalybuka, eugenis, thurstond, fmayer

Reviewed By: fmayer

Pull Request: https://github.com/llvm/llvm-project/pull/166639

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/log-path_test.cpp
    compiler-rt/test/asan/TestCases/verbose-log-path_test.cpp
    compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/log-path_test.cpp b/compiler-rt/test/asan/TestCases/log-path_test.cpp
index 6875d57c43cc0..22f077fb54680 100644
--- a/compiler-rt/test/asan/TestCases/log-path_test.cpp
+++ b/compiler-rt/test/asan/TestCases/log-path_test.cpp
@@ -1,6 +1,5 @@
 // FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
-// XFAIL: android
-// UNSUPPORTED: ios
+// UNSUPPORTED: ios, android
 //
 // The for loop in the backticks below requires bash.
 // REQUIRES: shell

diff  --git a/compiler-rt/test/asan/TestCases/verbose-log-path_test.cpp b/compiler-rt/test/asan/TestCases/verbose-log-path_test.cpp
index 53166ccded390..f4781a7d47647 100644
--- a/compiler-rt/test/asan/TestCases/verbose-log-path_test.cpp
+++ b/compiler-rt/test/asan/TestCases/verbose-log-path_test.cpp
@@ -9,8 +9,8 @@
 // RUN: FileCheck %s --check-prefix=CHECK-ERROR < %t-dir/asan.log.verbose-log-path_test-binary.*
 
 // FIXME: only FreeBSD, NetBSD and Linux have verbose log paths now.
-// XFAIL: target={{.*windows-msvc.*}},android
-// UNSUPPORTED: ios
+// XFAIL: target={{.*windows-msvc.*}}
+// UNSUPPORTED: ios, android
 
 #include <stdlib.h>
 #include <string.h>

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp
index 6ba7025bf7578..e4064828015aa 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_fd_test.cpp
@@ -7,7 +7,7 @@
 // RUN: not %run %t %t-out && FileCheck < %t-out %s
 
 // REQUIRES: stable-runtime
-// XFAIL: android && asan
+// UNSUPPORTED: android && asan
 
 #include <sanitizer/common_interface_defs.h>
 #include <stdio.h>


        


More information about the llvm-commits mailing list