Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin Define target_not_supported_body() in TSan, MS...



details:   https://anonhg.NetBSD.org/src/rev/78b4cc25bf73
branches:  trunk
changeset: 463445:78b4cc25bf73
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Aug 23 06:39:54 2019 +0000

description:
Define target_not_supported_body() in TSan, MSan and libFuzzer tests

diffstat:

 tests/usr.bin/c++/t_fuzzer_oom.sh                |  5 +++++
 tests/usr.bin/c++/t_fuzzer_simple.sh             |  5 +++++
 tests/usr.bin/c++/t_fuzzer_timeout.sh            |  5 +++++
 tests/usr.bin/c++/t_msan_allocated_memory.sh     |  5 +++++
 tests/usr.bin/c++/t_msan_check_mem.sh            |  5 +++++
 tests/usr.bin/c++/t_msan_free.sh                 |  5 +++++
 tests/usr.bin/c++/t_msan_heap.sh                 |  5 +++++
 tests/usr.bin/c++/t_msan_partial_poison.sh       |  5 +++++
 tests/usr.bin/c++/t_msan_poison.sh               |  5 +++++
 tests/usr.bin/c++/t_msan_realloc.sh              |  5 +++++
 tests/usr.bin/c++/t_msan_shadow.sh               |  5 +++++
 tests/usr.bin/c++/t_msan_stack.sh                |  5 +++++
 tests/usr.bin/c++/t_msan_unpoison.sh             |  5 +++++
 tests/usr.bin/c++/t_tsan_data_race.sh            |  5 +++++
 tests/usr.bin/c++/t_tsan_heap_use_after_free.sh  |  5 +++++
 tests/usr.bin/c++/t_tsan_lock_order_inversion.sh |  5 +++++
 tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh |  5 +++++
 tests/usr.bin/c++/t_tsan_signal_errno.sh         |  5 +++++
 tests/usr.bin/c++/t_tsan_thread_leak.sh          |  5 +++++
 tests/usr.bin/c++/t_tsan_vptr_race.sh            |  5 +++++
 tests/usr.bin/cc/t_fuzzer_oom.sh                 |  5 +++++
 tests/usr.bin/cc/t_fuzzer_simple.sh              |  5 +++++
 tests/usr.bin/cc/t_fuzzer_timeout.sh             |  5 +++++
 tests/usr.bin/cc/t_msan_allocated_memory.sh      |  5 +++++
 tests/usr.bin/cc/t_msan_check_mem.sh             |  5 +++++
 tests/usr.bin/cc/t_msan_free.sh                  |  5 +++++
 tests/usr.bin/cc/t_msan_heap.sh                  |  5 +++++
 tests/usr.bin/cc/t_msan_partial_poison.sh        |  5 +++++
 tests/usr.bin/cc/t_msan_poison.sh                |  5 +++++
 tests/usr.bin/cc/t_msan_realloc.sh               |  5 +++++
 tests/usr.bin/cc/t_msan_shadow.sh                |  5 +++++
 tests/usr.bin/cc/t_msan_stack.sh                 |  5 +++++
 tests/usr.bin/cc/t_msan_unpoison.sh              |  5 +++++
 tests/usr.bin/cc/t_tsan_data_race.sh             |  5 +++++
 tests/usr.bin/cc/t_tsan_heap_use_after_free.sh   |  5 +++++
 tests/usr.bin/cc/t_tsan_lock_order_inversion.sh  |  5 +++++
 tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh  |  5 +++++
 tests/usr.bin/cc/t_tsan_signal_errno.sh          |  5 +++++
 tests/usr.bin/cc/t_tsan_thread_leak.sh           |  5 +++++
 39 files changed, 195 insertions(+), 0 deletions(-)

diffs (truncated from 585 to 300 lines):

diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_fuzzer_oom.sh
--- a/tests/usr.bin/c++/t_fuzzer_oom.sh Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_fuzzer_oom.sh Fri Aug 23 06:39:54 2019 +0000
@@ -152,6 +152,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_fuzzer_simple.sh
--- a/tests/usr.bin/c++/t_fuzzer_simple.sh      Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_fuzzer_simple.sh      Fri Aug 23 06:39:54 2019 +0000
@@ -168,6 +168,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_fuzzer_timeout.sh
--- a/tests/usr.bin/c++/t_fuzzer_timeout.sh     Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_fuzzer_timeout.sh     Fri Aug 23 06:39:54 2019 +0000
@@ -148,6 +148,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_allocated_memory.sh
--- a/tests/usr.bin/c++/t_msan_allocated_memory.sh      Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_allocated_memory.sh      Fri Aug 23 06:39:54 2019 +0000
@@ -149,6 +149,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_check_mem.sh
--- a/tests/usr.bin/c++/t_msan_check_mem.sh     Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_check_mem.sh     Fri Aug 23 06:39:54 2019 +0000
@@ -153,6 +153,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_free.sh
--- a/tests/usr.bin/c++/t_msan_free.sh  Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_free.sh  Fri Aug 23 06:39:54 2019 +0000
@@ -145,6 +145,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_heap.sh
--- a/tests/usr.bin/c++/t_msan_heap.sh  Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_heap.sh  Fri Aug 23 06:39:54 2019 +0000
@@ -125,6 +125,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_partial_poison.sh
--- a/tests/usr.bin/c++/t_msan_partial_poison.sh        Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_partial_poison.sh        Fri Aug 23 06:39:54 2019 +0000
@@ -157,6 +157,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_poison.sh
--- a/tests/usr.bin/c++/t_msan_poison.sh        Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_poison.sh        Fri Aug 23 06:39:54 2019 +0000
@@ -153,6 +153,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_realloc.sh
--- a/tests/usr.bin/c++/t_msan_realloc.sh       Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_realloc.sh       Fri Aug 23 06:39:54 2019 +0000
@@ -149,6 +149,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_shadow.sh
--- a/tests/usr.bin/c++/t_msan_shadow.sh        Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_shadow.sh        Fri Aug 23 06:39:54 2019 +0000
@@ -169,6 +169,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_stack.sh
--- a/tests/usr.bin/c++/t_msan_stack.sh Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_stack.sh Fri Aug 23 06:39:54 2019 +0000
@@ -145,6 +145,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_msan_unpoison.sh
--- a/tests/usr.bin/c++/t_msan_unpoison.sh      Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_msan_unpoison.sh      Fri Aug 23 06:39:54 2019 +0000
@@ -169,6 +169,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_data_race.sh
--- a/tests/usr.bin/c++/t_tsan_data_race.sh     Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_data_race.sh     Fri Aug 23 06:39:54 2019 +0000
@@ -166,6 +166,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_heap_use_after_free.sh
--- a/tests/usr.bin/c++/t_tsan_heap_use_after_free.sh   Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_heap_use_after_free.sh   Fri Aug 23 06:39:54 2019 +0000
@@ -202,6 +202,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_lock_order_inversion.sh
--- a/tests/usr.bin/c++/t_tsan_lock_order_inversion.sh  Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_lock_order_inversion.sh  Fri Aug 23 06:39:54 2019 +0000
@@ -186,6 +186,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh
--- a/tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh  Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh  Fri Aug 23 06:39:54 2019 +0000
@@ -202,6 +202,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_signal_errno.sh
--- a/tests/usr.bin/c++/t_tsan_signal_errno.sh  Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_signal_errno.sh  Fri Aug 23 06:39:54 2019 +0000
@@ -190,6 +190,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_thread_leak.sh
--- a/tests/usr.bin/c++/t_tsan_thread_leak.sh   Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_thread_leak.sh   Fri Aug 23 06:39:54 2019 +0000
@@ -190,6 +190,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target
diff -r 817668dd0816 -r 78b4cc25bf73 tests/usr.bin/c++/t_tsan_vptr_race.sh
--- a/tests/usr.bin/c++/t_tsan_vptr_race.sh     Fri Aug 23 06:38:27 2019 +0000
+++ b/tests/usr.bin/c++/t_tsan_vptr_race.sh     Fri Aug 23 06:39:54 2019 +0000
@@ -214,6 +214,11 @@
        atf_set "descr" "Test forced skip"
 }
 
+target_not_supported_body()
+{
+       atf_skip "Target is not supported"
+}
+
 atf_init_test_cases()
 {
        test_target



Home | Main Index | Thread Index | Old Index