summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/strtol_strict.c
diff options
context:
space:
mode:
authorWalter Lee <waltl@google.com>2017-11-16 23:29:19 +0000
committerWalter Lee <waltl@google.com>2017-11-16 23:29:19 +0000
commitabaa3bfbc22b0efda02de641cce007a423ed46d8 (patch)
tree32259854e3c10756996a41c6eba5471d761d6635 /test/asan/TestCases/strtol_strict.c
parentc09ddbcdcff289ab551f32a3dc28d679bc80c126 (diff)
downloadcompiler-rt-abaa3bfbc22b0efda02de641cce007a423ed46d8.tar.gz
[asan] Properly mark or disable tests that only work with shadow scale of 3
Differential Revision: https://reviews.llvm.org/D39774 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318471 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/strtol_strict.c')
-rw-r--r--test/asan/TestCases/strtol_strict.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/asan/TestCases/strtol_strict.c b/test/asan/TestCases/strtol_strict.c
index 999067e89..bc30c87b1 100644
--- a/test/asan/TestCases/strtol_strict.c
+++ b/test/asan/TestCases/strtol_strict.c
@@ -21,6 +21,7 @@
// RUN: %run %t test7 2>&1
// RUN: %env_asan_opts=strict_string_checks=false %run %t test7 2>&1
// RUN: %env_asan_opts=strict_string_checks=true not %run %t test7 2>&1 | FileCheck %s --check-prefix=CHECK7
+// REQUIRES: shadow-scale-3
#include <assert.h>
#include <stdlib.h>