Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.bin Mark t_tsan_*:*profile test cases as expected ...



details:   https://anonhg.NetBSD.org/src/rev/8a384b98116f
branches:  trunk
changeset: 957104:8a384b98116f
user:      gson <gson%NetBSD.org@localhost>
date:      Tue Nov 17 08:25:57 2020 +0000

description:
Mark t_tsan_*:*profile test cases as expected failures as discussed in
PR toolchain/55760.

diffstat:

 tests/usr.bin/c++/t_tsan_data_race.sh            |  1 +
 tests/usr.bin/c++/t_tsan_heap_use_after_free.sh  |  1 +
 tests/usr.bin/c++/t_tsan_lock_order_inversion.sh |  1 +
 tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh |  1 +
 tests/usr.bin/c++/t_tsan_signal_errno.sh         |  1 +
 tests/usr.bin/c++/t_tsan_thread_leak.sh          |  1 +
 tests/usr.bin/c++/t_tsan_vptr_race.sh            |  1 +
 tests/usr.bin/cc/t_tsan_data_race.sh             |  1 +
 tests/usr.bin/cc/t_tsan_heap_use_after_free.sh   |  1 +
 tests/usr.bin/cc/t_tsan_lock_order_inversion.sh  |  1 +
 tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh  |  1 +
 tests/usr.bin/cc/t_tsan_signal_errno.sh          |  1 +
 tests/usr.bin/cc/t_tsan_thread_leak.sh           |  1 +
 13 files changed, 13 insertions(+), 0 deletions(-)

diffs (143 lines):

diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_data_race.sh
--- a/tests/usr.bin/c++/t_tsan_data_race.sh     Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_data_race.sh     Tue Nov 17 08:25:57 2020 +0000
@@ -79,6 +79,7 @@
 }
 
 data_race_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 int GlobalData; pthread_barrier_t barrier;
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_heap_use_after_free.sh
--- a/tests/usr.bin/c++/t_tsan_heap_use_after_free.sh   Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_heap_use_after_free.sh   Tue Nov 17 08:25:57 2020 +0000
@@ -105,6 +105,7 @@
 }
 
 heap_use_after_free_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 #include <stdlib.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_lock_order_inversion.sh
--- a/tests/usr.bin/c++/t_tsan_lock_order_inversion.sh  Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_lock_order_inversion.sh  Tue Nov 17 08:25:57 2020 +0000
@@ -85,6 +85,7 @@
 }
 
 lock_order_inversion_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh
--- a/tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh  Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_locked_mutex_destroy.sh  Tue Nov 17 08:25:57 2020 +0000
@@ -89,6 +89,7 @@
 }
 
 locked_mutex_destroy_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 #include <stdlib.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_signal_errno.sh
--- a/tests/usr.bin/c++/t_tsan_signal_errno.sh  Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_signal_errno.sh  Tue Nov 17 08:25:57 2020 +0000
@@ -85,6 +85,7 @@
 }
 
 signal_errno_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 #include <signal.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_thread_leak.sh
--- a/tests/usr.bin/c++/t_tsan_thread_leak.sh   Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_thread_leak.sh   Tue Nov 17 08:25:57 2020 +0000
@@ -93,6 +93,7 @@
 }
 
 thread_leak_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 #include <unistd.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/c++/t_tsan_vptr_race.sh
--- a/tests/usr.bin/c++/t_tsan_vptr_race.sh     Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/c++/t_tsan_vptr_race.sh     Tue Nov 17 08:25:57 2020 +0000
@@ -99,6 +99,7 @@
 }
 
 vptr_race_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.cc << EOF
 #include <pthread.h>
 pthread_barrier_t barrier;
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/cc/t_tsan_data_race.sh
--- a/tests/usr.bin/cc/t_tsan_data_race.sh      Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/cc/t_tsan_data_race.sh      Tue Nov 17 08:25:57 2020 +0000
@@ -79,6 +79,7 @@
 }
 
 data_race_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.c << EOF
 #include <pthread.h>
 int GlobalData; pthread_barrier_t barrier;
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/cc/t_tsan_heap_use_after_free.sh
--- a/tests/usr.bin/cc/t_tsan_heap_use_after_free.sh    Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/cc/t_tsan_heap_use_after_free.sh    Tue Nov 17 08:25:57 2020 +0000
@@ -88,6 +88,7 @@
 }
 
 heap_use_after_free_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.c << EOF
 #include <pthread.h>
 #include <stdlib.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/cc/t_tsan_lock_order_inversion.sh
--- a/tests/usr.bin/cc/t_tsan_lock_order_inversion.sh   Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/cc/t_tsan_lock_order_inversion.sh   Tue Nov 17 08:25:57 2020 +0000
@@ -84,6 +84,7 @@
 }
 
 lock_order_inversion_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.c << EOF
 #include <pthread.h>
 
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh
--- a/tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh   Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/cc/t_tsan_locked_mutex_destroy.sh   Tue Nov 17 08:25:57 2020 +0000
@@ -88,6 +88,7 @@
 }
 
 locked_mutex_destroy_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.c << EOF
 #include <pthread.h>
 #include <stdlib.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/cc/t_tsan_signal_errno.sh
--- a/tests/usr.bin/cc/t_tsan_signal_errno.sh   Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/cc/t_tsan_signal_errno.sh   Tue Nov 17 08:25:57 2020 +0000
@@ -85,6 +85,7 @@
 }
 
 signal_errno_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.c << EOF
 #include <pthread.h>
 #include <signal.h>
diff -r 71808a972381 -r 8a384b98116f tests/usr.bin/cc/t_tsan_thread_leak.sh
--- a/tests/usr.bin/cc/t_tsan_thread_leak.sh    Tue Nov 17 04:50:29 2020 +0000
+++ b/tests/usr.bin/cc/t_tsan_thread_leak.sh    Tue Nov 17 08:25:57 2020 +0000
@@ -85,6 +85,7 @@
 }
 
 thread_leak_profile_body(){
+       atf_expect_fail "PR toolchain/55760"
        cat > test.c << EOF
 #include <pthread.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index