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++ this now works...



details:   https://anonhg.NetBSD.org/src/rev/d0fe9716cb73
branches:  trunk
changeset: 447336:d0fe9716cb73
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 08 00:21:19 2019 +0000

description:
this now works...

diffstat:

 tests/usr.bin/c++/t_call_once.sh |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 12ab21a6ec22 -r d0fe9716cb73 tests/usr.bin/c++/t_call_once.sh
--- a/tests/usr.bin/c++/t_call_once.sh  Tue Jan 08 00:00:53 2019 +0000
+++ b/tests/usr.bin/c++/t_call_once.sh  Tue Jan 08 00:21:19 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_call_once.sh,v 1.1 2018/03/24 00:26:51 kamil Exp $
+#      $NetBSD: t_call_once.sh,v 1.2 2019/01/08 00:21:19 christos Exp $
 #
 # Copyright (c) 2018 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -101,7 +101,6 @@
 }
 
 call_once_profile_body() {
-       atf_expect_fail "profiling option doesn't work now"
        cat > test.cpp << EOF
 #include <cstdio>
 #include <thread>
@@ -117,7 +116,6 @@
 }
 
 call_once_profile_32_body() {
-       atf_expect_fail "profiling option doesn't work now"
        # check whether this arch is 64bit
        if ! c++ -dM -E - < /dev/null | fgrep -q _LP64; then
                atf_skip "this is not a 64 bit architecture"
@@ -142,7 +140,6 @@
 EOF
        atf_check -s exit:0 -o ignore -e ignore c++ -m32 -pg -o call_once test.cpp -pthread
        atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once
-       atf_expect_fail "The combination of 32-bit and profiling should be fail"
 }
 
 call_once_pic_body() {
@@ -210,7 +207,6 @@
 }
 
 call_once_pic_profile_body() {
-       atf_expect_fail "profiling option doesn't work now"
        cat > test.cpp << EOF
 #include <stdlib.h>
 int callpic(void);
@@ -237,7 +233,6 @@
 }
 
 call_once_pic_profile_32_body() {
-       atf_expect_fail "profiling option doesn't work now"
        # check whether this arch is 64bit
        if ! c++ -dM -E - < /dev/null | fgrep -q _LP64; then
                atf_skip "this is not a 64 bit architecture"



Home | Main Index | Thread Index | Old Index