diff options
Diffstat (limited to 'meta-oe/recipes-devtools/nlohmann-json')
-rwxr-xr-x | meta-oe/recipes-devtools/nlohmann-json/files/run-ptest | 6 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.12.0.bb (renamed from meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.3.bb) | 11 |
2 files changed, 10 insertions, 7 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 @@ | |||
3 | cd tests | 3 | cd tests |
4 | for atest in test-* ; do | 4 | for 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 |
diff --git a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.3.bb b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.12.0.bb index 194e80546e..1dfcc6ad75 100644 --- a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.3.bb +++ b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.12.0.bb | |||
@@ -2,21 +2,20 @@ SUMMARY = "JSON for modern C++" | |||
2 | HOMEPAGE = "https://nlohmann.github.io/json/" | 2 | HOMEPAGE = "https://nlohmann.github.io/json/" |
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f969127d7b7ed0a8a63c2bbeae002588" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=3b489645de9825cca5beeb9a7e18b6eb" |
6 | 6 | ||
7 | CVE_PRODUCT = "json-for-modern-cpp" | 7 | CVE_PRODUCT = "json-for-modern-cpp" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/nlohmann/json.git;branch=develop;protocol=https \ | 9 | SRC_URI = "git://github.com/nlohmann/json.git;branch=master;protocol=https \ |
10 | git://github.com/nlohmann/json_test_data.git;destsuffix=git/json_test_data;name=json-test-data;branch=master;protocol=https \ | 10 | git://github.com/nlohmann/json_test_data.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/json_test_data;name=json-test-data;branch=master;protocol=https \ |
11 | file://run-ptest \ | 11 | file://run-ptest \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRCREV = "9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03" | 14 | SRCREV = "55f93686c01528224f448c19128836e7df245f72" |
15 | SRCREV_json-test-data = "a1375cea09d27cc1c4cadb8d00470375b421ac37" | 15 | SRCREV_json-test-data = "a1375cea09d27cc1c4cadb8d00470375b421ac37" |
16 | 16 | ||
17 | SRCREV_FORMAT .= "_json-test-data" | 17 | SRCREV_FORMAT .= "_json-test-data" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | 19 | ||
21 | inherit cmake ptest | 20 | inherit cmake ptest |
22 | 21 | ||
@@ -25,7 +24,7 @@ EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DJSON_BuildTests= | |||
25 | # nlohmann-json is a header only C++ library, so the main package will be empty. | 24 | # nlohmann-json is a header only C++ library, so the main package will be empty. |
26 | ALLOW_EMPTY:${PN} = "1" | 25 | ALLOW_EMPTY:${PN} = "1" |
27 | RDEPENDS:${PN}-dev = "" | 26 | RDEPENDS:${PN}-dev = "" |
28 | RDEPENDS:${PN}-ptest = "perl" | 27 | RDEPENDS:${PN}-ptest = "perl locale-base-de-de" |
29 | 28 | ||
30 | BBCLASSEXTEND = "native nativesdk" | 29 | BBCLASSEXTEND = "native nativesdk" |
31 | 30 | ||