Skip to content

Commit a295b2a

Browse files
committed
[Sanitizer] XFAIL android test because env var is not read
1 parent 0a75d8e commit a295b2a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_fail.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// RUN: %clangxx -O2 %s -o %t
22

33
// Case 1: Try setting a path that is an invalid/inaccessible directory.
4-
// RUN: not %env %run %t 2>&1 | FileCheck %s --check-prefix=ERROR1
4+
// RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=ERROR1
55

66
// Case 2: Try setting a path that is too large.
7-
// RUN: not %env %run %t A 2>&1 | FileCheck %s --check-prefix=ERROR2
7+
// RUN: not %run %t A 2>&1 | FileCheck %s --check-prefix=ERROR2
88

99
#include <sanitizer/common_interface_defs.h>
1010
#include <stdio.h>

compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// RUN: %clangxx -O2 %s -o %t
33
// RUN: %env HOME=%t.homedir TMPDIR=%t.tmpdir %run %t 2>&1 | FileCheck %s
44

5+
// FIXME: Environment variables are no propagated or not properly read on android.
6+
// XFAIL: android
7+
58
#include <sanitizer/common_interface_defs.h>
69
#include <stdio.h>
710
#include <string.h>

0 commit comments

Comments
 (0)