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++ match the new compiler warning
details: https://anonhg.NetBSD.org/src/rev/e14271fee571
branches: trunk
changeset: 375985:e14271fee571
user: christos <christos%NetBSD.org@localhost>
date: Wed May 24 20:02:34 2023 +0000
description:
match the new compiler warning
diffstat:
tests/usr.bin/c++/t_tsan_vptr_race.sh | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 79b8cb5fd8da -r e14271fee571 tests/usr.bin/c++/t_tsan_vptr_race.sh
--- a/tests/usr.bin/c++/t_tsan_vptr_race.sh Wed May 24 18:22:05 2023 +0000
+++ b/tests/usr.bin/c++/t_tsan_vptr_race.sh Wed May 24 20:02:34 2023 +0000
@@ -88,7 +88,7 @@ EOF
c++ -fsanitize=thread -o test test.cc
paxctl +a test
- atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test
+ atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test
}
vptr_race_profile_body(){
@@ -119,10 +119,9 @@ int main() {
return 0;
}
EOF
-
- c++ -fsanitize=thread -static -o test -pg test.cc
+ c++ -fsanitize=thread -o test -pg test.cc
paxctl +a test
- atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test
+ atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test
}
vptr_race_pic_body(){
@@ -165,7 +164,7 @@ EOF
paxctl +a test
export LD_LIBRARY_PATH=.
- atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test
+ atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test
}
vptr_race_pie_body(){
@@ -202,7 +201,7 @@ EOF
c++ -fsanitize=thread -o test -fpie -pie test.cc
paxctl +a test
- atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race on vptr \(ctor/dtor vs virtual call\)" ./test
+ atf_check -s ignore -o ignore -e match:"WARNING: ThreadSanitizer: data race" ./test
}
Home |
Main Index |
Thread Index |
Old Index