-
Notifications
You must be signed in to change notification settings - Fork 649
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
Test case failed on chain_test #1326
Comments
The user doesn't have bitshares-core/tests/tests/uia_tests.cpp Lines 505 to 511 in 3e74426
|
Update: got same error in Windows. |
en_US.UTF-8 may work on macos, but not sure on windows. |
I may be jumping in the middle here, but it is my understanding that this is testing to see if the isalpha function works as expected in various locales (new "non-C" way vs the classic "C" way). What I do not understand is why are we testing a standard library function? Is there a belief that the standard will change? Or perhaps that some platforms will not implement it correctly? Perhaps this test was simply to clarify how things work. I may be wrong, but I do not see the benefit of those lines in this test. If everyone agrees, I will remove those lines. If not, please let me know why these lines are here. Thanks! |
IIRC the asset name validation code used the system locale and thus might have allowed to create assets with non-ascii names, depending on witness system locale settings. This has been fixed, so IMO these lines can be removed. |
Resolved via #1346 |
Instructions
I've been testing building with Boost 1.67.0, and the compilation succeeded despite it is not supported, so I decided to run tests (
*_test
) to check for errors.When running
chain_test
, I've met one error:other tests except
es_test
(didn't have es installation locally) succeeded without errors.Additional info:
Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
Host Environment
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: