summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nlohmann-json/files
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2025-04-28 15:57:18 +0800
committerKhem Raj <raj.khem@gmail.com>2025-04-28 07:02:49 -0700
commit0b7351142e2b1ff00617506a3e94c7a23ef91125 (patch)
tree598444f7768425aa0c93e8af26c128dd1d078bbb /meta-oe/recipes-devtools/nlohmann-json/files
parent3adc396a6fbc036835de6844bec5270ceffab59e (diff)
downloadmeta-openembedded-0b7351142e2b1ff00617506a3e94c7a23ef91125.tar.gz
nlohmann-json: Upgrade 3.11.3 -> 3.12.0
* License-Update: Copyright year updated to 2025 * It seems snprintf in glibc is locale-aware. And it will format floating-point numbers according to the locale when the numeric locale is set (e.g., de_DE). But in musl, snprintf does not respect locale settings for number formatting. It will always use a period as the decimal separator regardless of the locale set. So exclude TEST CASE "locale-dependent test (LC_NUMERIC=de_DE)" [1] right now and add the case back once the issue resolved by upstream. # ./run-ptest PASS: test-algorithms_cpp11 PASS: test-allocator_cpp11 PASS: test-alt-string_cpp11 PASS: test-assert_macro_cpp11 PASS: test-binary_formats_cpp11 PASS: test-bjdata_cpp11 PASS: test-bson_cpp11 PASS: test-byte_container_with_subtype_cpp11 PASS: test-capacity_cpp11 PASS: test-cbor_cpp11 PASS: test-class_const_iterator_cpp11 PASS: test-class_iterator_cpp11 PASS: test-class_lexer_cpp11 PASS: test-class_parser_cpp11 [snip] [1] https://github.com/nlohmann/json/issues/4767 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nlohmann-json/files')
-rwxr-xr-xmeta-oe/recipes-devtools/nlohmann-json/files/run-ptest6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest b/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest
index 2f00267d50..d39ee6df8f 100755
--- a/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest
+++ b/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest
@@ -3,7 +3,11 @@
3cd tests 3cd tests
4for atest in test-* ; do 4for atest in test-* ; do
5 rm -rf tests.log 5 rm -rf tests.log
6 ./${atest} > tests.log 2>&1 6 if [ ${atest} = "test-locale-cpp_cpp11" ]; then
7 ./${atest} --test-case-exclude="locale-dependent test (LC_NUMERIC=de_DE)" > tests.log 2>&1
8 else
9 ./${atest} > tests.log 2>&1
10 fi
7 if [ $? = 0 ] ; then 11 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}" 12 echo "PASS: ${atest}"
9 else 13 else