summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest
diff options
context:
space:
mode:
authorViktor Rosendahl <viktor.rosendahl@bmw.de>2023-04-27 21:56:44 +0530
committerArmin Kuster <akuster808@gmail.com>2023-05-05 07:20:59 -0400
commit765cfa779db64fc5b71faef1e78f902fa5c200d0 (patch)
tree13f0d68a77c45c508387ade07cd2bb9e5efb20f9 /meta-python/recipes-devtools/python/python3-pytest
parent34f5646bba98b909d44e3bf29cd8853199b8197a (diff)
downloadmeta-openembedded-765cfa779db64fc5b71faef1e78f902fa5c200d0.tar.gz
jsoncpp: Fix broken handling of escape characters
Applying this backported patch from upstream fixes the following BAT test failure: jsoncpp.jsoncpp_system_tests.TestJsoncpp.test_run_jsoncpp_test (from systemtests--bmt--BAT) : * Detail of EscapeSequenceTest/writeEscapeSequence test failure: /usr/src/debug/jsoncpp/1.9.2-r0/git/src/test_lib_json/main.cpp(3370): expected == result Expected: '["\"","\\","\b","\f","\n","\r","\t","\u0278","\ud852\udf62"] ' Actual : '["\"","\\","\b","\f","\n","\r","\t","ɸ","𤭢"] This test failure happens because aarch64 uses unsigned char as default type for char, while x86 uses signed char. Also, there is another bug in the code that is fixed by this upstream patch: "static_cast<unsigned char>(*cur) < 0x80" should be: "static_cast<unsigned char>(*cur) >= 0x80" Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest')
0 files changed, 0 insertions, 0 deletions