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++ toolchain/57033: usr.bin/c++/t_call_once2:...



details:   https://anonhg.NetBSD.org/src/rev/89c2fc455ce2
branches:  trunk
changeset: 371220:89c2fc455ce2
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 29 07:22:49 2022 +0000

description:
toolchain/57033: usr.bin/c++/t_call_once2:call_once2_profile test case fails

Remove the -static flag I added because it doesn't fix anything and it
actually causes more problems.

diffstat:

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

diffs (27 lines):

diff -r a8222434405b -r 89c2fc455ce2 tests/usr.bin/c++/t_call_once2.sh
--- a/tests/usr.bin/c++/t_call_once2.sh Thu Sep 29 07:00:46 2022 +0000
+++ b/tests/usr.bin/c++/t_call_once2.sh Thu Sep 29 07:22:49 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_call_once2.sh,v 1.7 2022/09/28 11:09:59 skrll Exp $
+#      $NetBSD: t_call_once2.sh,v 1.8 2022/09/29 07:22:49 skrll Exp $
 #
 # Copyright (c) 2018 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -154,7 +154,7 @@
         return 0;
 }
 EOF
-       atf_check -s exit:0 -o ignore -e ignore c++ -static -pg -o call_once2 test.cpp -pthread
+       atf_check -s exit:0 -o ignore -e ignore c++ -pg -o call_once2 test.cpp -pthread
        atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once2
 }
 
@@ -198,7 +198,7 @@
         return 0;
 }
 EOF
-       atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o call_once2 test.cpp -pthread
+       atf_check -s exit:0 -o ignore -e ignore c++ -m32 -pg -o call_once2 test.cpp -pthread
        atf_check -s exit:0 -o inline:"hello, world!\n" ./call_once2
        atf_expect_fail "The combination of 32-bit and profiling should be fail"
 }



Home | Main Index | Thread Index | Old Index