Module Name: src
Committed By: skrll
Date: Thu Sep 29 07:22:49 UTC 2022
Modified Files:
src/tests/usr.bin/c++: t_call_once2.sh
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/c++/t_call_once2.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/c++/t_call_once2.sh
diff -u src/tests/usr.bin/c++/t_call_once2.sh:1.7 src/tests/usr.bin/c++/t_call_once2.sh:1.8
--- src/tests/usr.bin/c++/t_call_once2.sh:1.7 Wed Sep 28 11:09:59 2022
+++ src/tests/usr.bin/c++/t_call_once2.sh Thu Sep 29 07:22:49 2022
@@ -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 @@ int main(void) {
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 @@ int main(void) {
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"
}