Skip to content

Commit 3ad2cd5

Browse files
committed
[asan] Fix-forward #133175 by restricting newly-added tests to Linux
This was failing on Mac (https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/4107/ and https://issues.chromium.org/issues/409995888). Since this is an experimental feature, rather than play whack-a-mole with selectively disabling failing platforms (previously done for Android), this patch restricts it to Linux.
1 parent 88e15b7 commit 3ad2cd5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compiler-rt/test/asan/TestCases/use-after-poison-history-size-partial-granule.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=poison_history_size=1000 not %run %t 2>&1 | FileCheck %s
77

88
// TODO
9+
// REQUIRES: linux
910
// UNSUPPORTED: android
1011

1112
#include <stdio.h>

compiler-rt/test/asan/TestCases/use-after-poison-history-size.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
// RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=poison_history_size=1 not %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-ACDE,CHECK-BDE,CHECK-E
1818

1919
// TODO
20+
// REQUIRES: linux
2021
// UNSUPPORTED: android
2122

2223
#include <stdio.h>

0 commit comments

Comments
 (0)