[compiler-rt] e0f3a3b - [ubsan] Remove REQUIRED from some TestCases
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 15 10:20:42 PDT 2021
Author: Vitaly Buka
Date: 2021-10-15T10:20:34-07:00
New Revision: e0f3a3b228cee19be54156b9a213fb6c0b0855f0
URL: https://github.com/llvm/llvm-project/commit/e0f3a3b228cee19be54156b9a213fb6c0b0855f0
DIFF: https://github.com/llvm/llvm-project/commit/e0f3a3b228cee19be54156b9a213fb6c0b0855f0.diff
LOG: [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
Added:
Modified:
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
Removed:
################################################################################
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 7cdc4c5a1b97a..7f1df56a908af 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 <stdint.h>
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 13eaef2741571..96cc048a967c1 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 <stdint.h>
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 1da9e3b41e365..e5459bab40bf4 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 <stdint.h>
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 5117dc2a34f3d..a4e7c316bcb92 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 <stdint.h>
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 cc7769a06fe5f..4ea80b3ff642a 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 <stdlib.h>
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 2fca1264855d1..9e1d93fceb504 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 <stdlib.h>
int main(int argc, char *argv[]) {
More information about the llvm-commits
mailing list