From e0f3a3b228cee19be54156b9a213fb6c0b0855f0 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 14 Oct 2021 19:04:23 -0700 Subject: [PATCH] [ubsan] Remove REQUIRED from some TestCases It's not obvious why they are needed, and tests pass. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D111859 --- .../ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp | 1 - .../signed-integer-truncation-or-sign-change-summary.cpp | 1 - .../TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp | 1 - .../ImplicitConversion/unsigned-integer-truncation-summary.cpp | 1 - .../test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp | 1 - .../test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp | 2 -- 6 files changed, 7 deletions(-) diff --git a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp index 7cdc4c5..7f1df56 100644 --- a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp +++ b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp @@ -1,7 +1,6 @@ // RUN: %clangxx -fsanitize=implicit-integer-sign-change %s -o %t // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE -// REQUIRES: !ubsan-standalone && !ubsan-standalone-static #include diff --git a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-summary.cpp b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-summary.cpp index 13eaef2..96cc048 100644 --- a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-summary.cpp +++ b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-summary.cpp @@ -1,7 +1,6 @@ // RUN: %clangxx -fsanitize=implicit-signed-integer-truncation,implicit-integer-sign-change %s -o %t // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE -// REQUIRES: !ubsan-standalone && !ubsan-standalone-static #include diff --git a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp index 1da9e3b..e5459ba 100644 --- a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp +++ b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp @@ -1,7 +1,6 @@ // RUN: %clangxx -fsanitize=implicit-signed-integer-truncation %s -o %t // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE -// REQUIRES: !ubsan-standalone && !ubsan-standalone-static #include diff --git a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-summary.cpp b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-summary.cpp index 5117dc2..a4e7c31 100644 --- a/compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-summary.cpp +++ b/compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-summary.cpp @@ -1,7 +1,6 @@ // RUN: %clangxx -fsanitize=implicit-unsigned-integer-truncation %s -o %t // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE -// REQUIRES: !ubsan-standalone && !ubsan-standalone-static #include diff --git a/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp b/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp index cc7769a..4ea80b3 100644 --- a/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp +++ b/compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp @@ -1,7 +1,6 @@ // RUN: %clangxx -fsanitize=alignment %s -o %t // RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE -// REQUIRES: !ubsan-standalone && !ubsan-standalone-static #include diff --git a/compiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp b/compiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp index 2fca126..9e1d93f 100644 --- a/compiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp +++ b/compiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp @@ -6,8 +6,6 @@ // RUN: %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-NOTYPE,CHECK-NOTYPE-CPP // RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-TYPE,CHECK-TYPE-CPP -// REQUIRES: !ubsan-standalone && !ubsan-standalone-static - #include int main(int argc, char *argv[]) { -- 2.7.4