Skip to content

Commit e0f3a3b

Browse files
committed
[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
1 parent 47eb99a commit e0f3a3b

6 files changed

+0
-7
lines changed

compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-summary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %clangxx -fsanitize=implicit-integer-sign-change %s -o %t
22
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
33
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
4-
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
54

65
#include <stdint.h>
76

compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-summary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %clangxx -fsanitize=implicit-signed-integer-truncation,implicit-integer-sign-change %s -o %t
22
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
33
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
4-
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
54

65
#include <stdint.h>
76

compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-summary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %clangxx -fsanitize=implicit-signed-integer-truncation %s -o %t
22
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
33
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
4-
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
54

65
#include <stdint.h>
76

compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-summary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %clangxx -fsanitize=implicit-unsigned-integer-truncation %s -o %t
22
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
33
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
4-
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
54

65
#include <stdint.h>
76

compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-summary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %clangxx -fsanitize=alignment %s -o %t
22
// RUN: %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOTYPE
33
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-TYPE
4-
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
54

65
#include <stdlib.h>
76

compiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// RUN: %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-NOTYPE,CHECK-NOTYPE-CPP
77
// RUN: %env_ubsan_opts=report_error_type=1 %run %t 2>&1 | FileCheck %s --check-prefixes=CHECK-TYPE,CHECK-TYPE-CPP
88

9-
// REQUIRES: !ubsan-standalone && !ubsan-standalone-static
10-
119
#include <stdlib.h>
1210

1311
int main(int argc, char *argv[]) {

0 commit comments

Comments
 (0)