-
Notifications
You must be signed in to change notification settings - Fork 38.7k
tests: Fix fs_tests for unknown locales #17086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4c58943 to
e6208c8
Compare
|
@carnhofdaki please remove any @mentions from your commit message. I have removed the one in your PR description. We don't include them in either as they just result in spam. If you'd like to attribute the change you could use the |
|
ACK (after fanquake's comment addressed) Comment #14948 (comment) |
e6208c8 to
4375323
Compare
|
@fanquake thank you for comment. Done. Is it good now? |
💔, but 💯 agree. This change fixes builds for me, looking forward to merge! |
4375323 to
000198d
Compare
Fix by removing "L" as suggested by meeDamian in bitcoin#14948 (comment) Co-Authored-By: [email protected]
000198d to
d48f664
Compare
|
ACK d48f664 Hrmph, we should probably fix the false-positive in github-merge.py for full mail addresses. Those don't get notified (afaik). |
d48f664 tests: Fix fs_tests for unknown locales (Daki Carnhof) Pull request description: Fix by removing "L" as suggested by meeDamian in #14948 (comment) ``` # all in .../bitcoin/src/test $ uname -m x86_64 $ export LC_ALL=randomnonexistentlocale $ ./test_bitcoin Running 369 test cases... unknown location(0): fatal error: in "fs_tests/fsbridge_fstream": boost::system::system_error: boost::filesystem::path codecvt to string: error test/fs_tests.cpp(13): last checkpoint: "fsbridge_fstream" test entry *** 1 failure is detected in the test module "Bitcoin Core Test Suite" ``` After the patch is applied, the same test under the same conditions runs fine. ``` $ export LC_ALL=randomnonexistentlocale $ ./test_bitcoin Running 369 test cases... *** No errors detected ``` Co-Authored-By: [email protected] ACKs for top commit: laanwj: ACK d48f664 Tree-SHA512: a9910252b8ce6a05cab5530874549c2999ca2c28e835fc18aa8e5468fb417bd7d245864ec71d9233dd53e02940a9f0691b247430257f27eb0d7c20745d1c846d
|
Post-merge ACK. Tested on ODROID-HC1: Could this PR be backported to 0.19? |
|
@MarcoFalke What is the process for backports? (In case I did something wrong) |
Fix by removing "L" as suggested by meeDamian in bitcoin#14948 (comment) Co-Authored-By: [email protected] Github-Pull: bitcoin#17086 Rebased-From: d48f664
bd9d40d tests: Fix fs_tests for unknown locales (Daki Carnhof) Pull request description: Backporting to `0.19` as suggested in #17086 (comment) Fix by removing "L" as suggested by meeDamian in #14948 (comment) Co-Authored-By: [email protected] Top commit has no ACKs. Tree-SHA512: cb73c475560d156034d240c77dfd704526cfb148bcecf302079f1f9b6984117da71f018e1c70a165caed90be48482cb9c4939b001477a44f562fc0c11cb6ede7
|
Backported in #17158. |
Fix by removing "L" as suggested by meeDamian in bitcoin#14948 (comment) Co-Authored-By: [email protected] Github-Pull: bitcoin#17086 Rebased-From: d48f664
|
This fixed the test suite for me on an armv7 device. |
Summary: Backport of core [[bitcoin/bitcoin#17086 | PR17086]]. Test Plan: ninja check Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D5687
d48f664 tests: Fix fs_tests for unknown locales (Daki Carnhof) Pull request description: Fix by removing "L" as suggested by meeDamian in bitcoin#14948 (comment) ``` # all in .../bitcoin/src/test $ uname -m x86_64 $ export LC_ALL=randomnonexistentlocale $ ./test_bitcoin Running 369 test cases... unknown location(0): fatal error: in "fs_tests/fsbridge_fstream": boost::system::system_error: boost::filesystem::path codecvt to string: error test/fs_tests.cpp(13): last checkpoint: "fsbridge_fstream" test entry *** 1 failure is detected in the test module "Bitcoin Core Test Suite" ``` After the patch is applied, the same test under the same conditions runs fine. ``` $ export LC_ALL=randomnonexistentlocale $ ./test_bitcoin Running 369 test cases... *** No errors detected ``` Co-Authored-By: [email protected] ACKs for top commit: laanwj: ACK d48f664 Tree-SHA512: a9910252b8ce6a05cab5530874549c2999ca2c28e835fc18aa8e5468fb417bd7d245864ec71d9233dd53e02940a9f0691b247430257f27eb0d7c20745d1c846d
d48f664 tests: Fix fs_tests for unknown locales (Daki Carnhof) Pull request description: Fix by removing "L" as suggested by meeDamian in bitcoin#14948 (comment) ``` # all in .../bitcoin/src/test $ uname -m x86_64 $ export LC_ALL=randomnonexistentlocale $ ./test_bitcoin Running 369 test cases... unknown location(0): fatal error: in "fs_tests/fsbridge_fstream": boost::system::system_error: boost::filesystem::path codecvt to string: error test/fs_tests.cpp(13): last checkpoint: "fsbridge_fstream" test entry *** 1 failure is detected in the test module "Bitcoin Core Test Suite" ``` After the patch is applied, the same test under the same conditions runs fine. ``` $ export LC_ALL=randomnonexistentlocale $ ./test_bitcoin Running 369 test cases... *** No errors detected ``` Co-Authored-By: [email protected] ACKs for top commit: laanwj: ACK d48f664 Tree-SHA512: a9910252b8ce6a05cab5530874549c2999ca2c28e835fc18aa8e5468fb417bd7d245864ec71d9233dd53e02940a9f0691b247430257f27eb0d7c20745d1c846d
merge bitcoin#14209, bitcoin#13878, bitcoin#14192, bitcoin#17086: logging and filesystem updates
Fix by removing "L" as suggested by meeDamian in
#14948 (comment)
After the patch is applied, the same test under the same conditions runs fine.
Co-Authored-By: [email protected]