[ubsan] Remove REQUIRED from some TestCases
authorVitaly Buka <vitalybuka@google.com>
Fri, 15 Oct 2021 02:04:23 +0000 (19:04 -0700)
committerVitaly Buka <vitalybuka@google.com>
Fri, 15 Oct 2021 17:20:34 +0000 (10:20 -0700)
It's not obvious why they are needed, and tests pass.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D111859

compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp
compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-summary.cpp
compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp
compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-summary.cpp
compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp
compiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp

index 7cdc4c5..7f1df56 100644 (file)
@@ -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 <stdint.h>
 
index 13eaef2..96cc048 100644 (file)
@@ -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 <stdint.h>
 
index 1da9e3b..e5459ba 100644 (file)
@@ -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 <stdint.h>
 
index 5117dc2..a4e7c31 100644 (file)
@@ -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 <stdint.h>
 
index cc7769a..4ea80b3 100644 (file)
@@ -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 <stdlib.h>
 
index 2fca126..9e1d93f 100644 (file)
@@ -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 <stdlib.h>
 
 int main(int argc, char *argv[]) {