Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/usr.bin/c++ Disable profile and compat 32-bit c++ sani...
details: https://anonhg.NetBSD.org/src/rev/dd1ce7c99f54
branches: trunk
changeset: 991508:dd1ce7c99f54
user: kamil <kamil%NetBSD.org@localhost>
date: Mon Jul 16 07:27:26 2018 +0000
description:
Disable profile and compat 32-bit c++ sanitizer tests
These tests are known to be faulty. These fatures aren't ready.
They tend to break to unrelated changes to the codebase.
Base Clang and GCC are in general dated to use with sanitizers as these
features are being fixed on HEAD versions of both compilers (mostly Clang).
diffstat:
tests/usr.bin/c++/t_asan_double_free.sh | 6 +++---
tests/usr.bin/c++/t_asan_global_buffer_overflow.sh | 6 +++---
tests/usr.bin/c++/t_asan_heap_overflow.sh | 6 +++---
tests/usr.bin/c++/t_asan_off_by_one.sh | 6 +++---
tests/usr.bin/c++/t_asan_poison.sh | 6 +++---
tests/usr.bin/c++/t_asan_uaf.sh | 6 +++---
tests/usr.bin/c++/t_ubsan_int_add_overflow.sh | 4 ++--
tests/usr.bin/c++/t_ubsan_int_divzero.sh | 4 ++--
tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh | 4 ++--
tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh | 4 ++--
tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh | 4 ++--
11 files changed, 28 insertions(+), 28 deletions(-)
diffs (202 lines):
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_asan_double_free.sh
--- a/tests/usr.bin/c++/t_asan_double_free.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_asan_double_free.sh Mon Jul 16 07:27:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_asan_double_free.sh,v 1.1 2018/04/04 23:53:26 kamil Exp $
+# $NetBSD: t_asan_double_free.sh,v 1.2 2018/07/16 07:27:26 kamil Exp $
#
# Copyright (c) 2018 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -202,10 +202,10 @@
}
atf_add_test_case double_free
- atf_add_test_case double_free_profile
+# atf_add_test_case double_free_profile
atf_add_test_case double_free_pic
atf_add_test_case double_free_pie
- atf_add_test_case double_free32
+# atf_add_test_case double_free32
# static option not supported
# -static and -fsanitize=address can't be used together for compilation
# (gcc version 5.4.0 and clang 7.1) tested on April 2nd 2018.
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_asan_global_buffer_overflow.sh
--- a/tests/usr.bin/c++/t_asan_global_buffer_overflow.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_asan_global_buffer_overflow.sh Mon Jul 16 07:27:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_asan_global_buffer_overflow.sh,v 1.1 2018/04/04 23:53:26 kamil Exp $
+# $NetBSD: t_asan_global_buffer_overflow.sh,v 1.2 2018/07/16 07:27:26 kamil Exp $
#
# Copyright (c) 2018 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -201,10 +201,10 @@
}
atf_add_test_case global_buffer_overflow
- atf_add_test_case global_buffer_overflow_profile
+# atf_add_test_case global_buffer_overflow_profile
atf_add_test_case global_buffer_overflow_pic
atf_add_test_case global_buffer_overflow_pie
- atf_add_test_case global_buffer_overflow32
+# atf_add_test_case global_buffer_overflow32
# static option not supported
# -static and -fsanitize=address can't be used together for compilation
# (gcc version 5.4.0 and clang 7.1) tested on April 2nd 2018.
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_asan_heap_overflow.sh
--- a/tests/usr.bin/c++/t_asan_heap_overflow.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_asan_heap_overflow.sh Mon Jul 16 07:27:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_asan_heap_overflow.sh,v 1.1 2018/04/04 23:53:26 kamil Exp $
+# $NetBSD: t_asan_heap_overflow.sh,v 1.2 2018/07/16 07:27:26 kamil Exp $
#
# Copyright (c) 2018 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -202,10 +202,10 @@
}
atf_add_test_case heap_overflow
- atf_add_test_case heap_overflow_profile
+# atf_add_test_case heap_overflow_profile
atf_add_test_case heap_overflow_pic
atf_add_test_case heap_overflow_pie
- atf_add_test_case heap_overflow32
+# atf_add_test_case heap_overflow32
# static option not supported
# -static and -fsanitize=address can't be used together for compilation
# (gcc version 5.4.0 and clang 7.1) tested on April 2nd 2018.
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_asan_off_by_one.sh
--- a/tests/usr.bin/c++/t_asan_off_by_one.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_asan_off_by_one.sh Mon Jul 16 07:27:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_asan_off_by_one.sh,v 1.1 2018/04/04 23:53:26 kamil Exp $
+# $NetBSD: t_asan_off_by_one.sh,v 1.2 2018/07/16 07:27:26 kamil Exp $
#
# Copyright (c) 2018 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -223,10 +223,10 @@
}
atf_add_test_case off_by_one
- atf_add_test_case off_by_one_profile
+# atf_add_test_case off_by_one_profile
atf_add_test_case off_by_one_pic
atf_add_test_case off_by_one_pie
- atf_add_test_case off_by_one32
+# atf_add_test_case off_by_one32
# static option not supported
# -static and -fsanitize=address can't be used together for compilation
# (gcc version 5.4.0 and clang 7.1) tested on April 2nd 2018.
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_asan_poison.sh
--- a/tests/usr.bin/c++/t_asan_poison.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_asan_poison.sh Mon Jul 16 07:27:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_asan_poison.sh,v 1.1 2018/04/11 03:25:25 kamil Exp $
+# $NetBSD: t_asan_poison.sh,v 1.2 2018/07/16 07:27:26 kamil Exp $
#
# Copyright (c) 2018 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -267,10 +267,10 @@
}
atf_add_test_case poison
- atf_add_test_case poison_profile
+# atf_add_test_case poison_profile
atf_add_test_case poison_pic
atf_add_test_case poison_pie
- atf_add_test_case poison32
+# atf_add_test_case poison32
# static option not supported
# -static and -fsanitize=address can't be used together for compilation
# (gcc version 5.4.0 and clang 7.1) tested on April 2nd 2018.
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_asan_uaf.sh
--- a/tests/usr.bin/c++/t_asan_uaf.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_asan_uaf.sh Mon Jul 16 07:27:26 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_asan_uaf.sh,v 1.1 2018/04/04 23:53:26 kamil Exp $
+# $NetBSD: t_asan_uaf.sh,v 1.2 2018/07/16 07:27:26 kamil Exp $
#
# Copyright (c) 2018 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -195,10 +195,10 @@
}
atf_add_test_case uaf
- atf_add_test_case uaf_profile
+# atf_add_test_case uaf_profile
atf_add_test_case uaf_pic
atf_add_test_case uaf_pie
- atf_add_test_case uaf32
+# atf_add_test_case uaf32
# static option not supported
# -static and -fsanitize=address can't be used together for compilation
# (gcc version 5.4.0 and clang 7.1) tested on April 2nd 2018.
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_ubsan_int_add_overflow.sh
--- a/tests/usr.bin/c++/t_ubsan_int_add_overflow.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_add_overflow.sh Mon Jul 16 07:27:26 2018 +0000
@@ -190,8 +190,8 @@
return 0
}
atf_add_test_case int_add_overflow
- atf_add_test_case int_add_overflow_profile
+# atf_add_test_case int_add_overflow_profile
atf_add_test_case int_add_overflow_pie
atf_add_test_case int_add_overflow_pic
- atf_add_test_case int_add_overflow32
+# atf_add_test_case int_add_overflow32
}
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_ubsan_int_divzero.sh
--- a/tests/usr.bin/c++/t_ubsan_int_divzero.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_divzero.sh Mon Jul 16 07:27:26 2018 +0000
@@ -183,8 +183,8 @@
return 0
}
atf_add_test_case int_divzero
- atf_add_test_case int_divzero_profile
+# atf_add_test_case int_divzero_profile
atf_add_test_case int_divzero_pie
atf_add_test_case int_divzero_pic
- atf_add_test_case int_divzero32
+# atf_add_test_case int_divzero32
}
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh
--- a/tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_neg_overflow.sh Mon Jul 16 07:27:26 2018 +0000
@@ -190,8 +190,8 @@
return 0
}
atf_add_test_case int_neg_overflow
- atf_add_test_case int_neg_overflow_profile
+# atf_add_test_case int_neg_overflow_profile
atf_add_test_case int_neg_overflow_pie
atf_add_test_case int_neg_overflow_pic
- atf_add_test_case int_neg_overflow32
+# atf_add_test_case int_neg_overflow32
}
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh
--- a/tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_int_sub_overflow.sh Mon Jul 16 07:27:26 2018 +0000
@@ -190,8 +190,8 @@
return 0
}
atf_add_test_case int_sub_overflow
- atf_add_test_case int_sub_overflow_profile
+# atf_add_test_case int_sub_overflow_profile
atf_add_test_case int_sub_overflow_pie
atf_add_test_case int_sub_overflow_pic
- atf_add_test_case int_sub_overflow32
+# atf_add_test_case int_sub_overflow32
}
diff -r 1996113c2ab3 -r dd1ce7c99f54 tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh
--- a/tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh Mon Jul 16 07:25:58 2018 +0000
+++ b/tests/usr.bin/c++/t_ubsan_vla_out_of_bounds.sh Mon Jul 16 07:27:26 2018 +0000
@@ -187,8 +187,8 @@
return 0
}
atf_add_test_case vla_out_of_bounds
- atf_add_test_case vla_out_of_bounds_profile
+# atf_add_test_case vla_out_of_bounds_profile
atf_add_test_case vla_out_of_bounds_pie
atf_add_test_case vla_out_of_bounds_pic
- atf_add_test_case vla_out_of_bounds32
+# atf_add_test_case vla_out_of_bounds32
}
Home |
Main Index |
Thread Index |
Old Index