Skip to contentSkip to conversation

libyang: upgrade 2.1.30 -> 2.1.55

PATCH New Yi Zhao 1 participant 1 message Mar 22, 2023

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 libyang: upgrade 2.1.30 -> 2.1.55

ChangeLog:
https://github.com/CESNET/libyang/releases/tag/v2.1.55

* Generate cases list dynamically in run-ptest.
* Add a patch to fix ptest.

---
 ...ntext-skip-test-case-test_searchdirs.patch | 29 +++++++++
 .../libyang/libyang/run-ptest                 | 61 +------------------
 .../{libyang_2.1.30.bb => libyang_2.1.55.bb}  |  3 +-
 3 files changed, 34 insertions(+), 59 deletions(-)
 create mode 100644 meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
 rename meta-oe/recipes-extended/libyang/{libyang_2.1.30.bb => libyang_2.1.55.bb} (91%)
meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch new file +29 -0
new file mode 100644
index 000000000..3c6aee924
@@ -0,0 +1,29 @@
+From 5de24e1b39c09adb0c5bf4bb4228bd1bb935542a Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Wed, 22 Mar 2023 16:03:56 +0800
+Subject: [PATCH] test_context: skip test case test_searchdirs
+
+Skip test case test_searchdirs as it searchs the source code directory.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ tests/utests/basic/test_context.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c
+index cfba1d30f..8c3bb7ad6 100644
+--- a/tests/utests/basic/test_context.c
++++ b/tests/utests/basic/test_context.c
+@@ -1061,7 +1061,6 @@ int
+ main(void)
+ {
+     const struct CMUnitTest tests[] = {
+-        UTEST(test_searchdirs),
+         UTEST(test_options),
+         UTEST(test_models),
+         UTEST(test_imports),
+-- 
+2.25.1
+
meta-oe/recipes-extended/libyang/libyang/run-ptest +3 -58

76 lines not on this page · raw message

meta-oe/recipes-extended/libyang/libyang_2.1.55.bb renamed from meta-oe/recipes-extended/libyang/libyang_2.1.30.bb +2 -1
similarity index 91%
rename from meta-oe/recipes-extended/libyang/libyang_2.1.30.bb
rename to meta-oe/recipes-extended/libyang/libyang_2.1.55.bb
index 5adfc1d80..b1438c3b2 100644
@@ -6,9 +6,10 @@ LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f3916d7d8d42a6508d0ea418cfff10ad"
 
-SRCREV = "35131b9396a965e01f899127763fb4e0871b845a"
+SRCREV = "9a4e5b2ce30b9696116d6e654ee55caab5aafed8"
 
 SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https \
+           file://0001-test_context-skip-test-case-test_searchdirs.patch \
            file://run-ptest \
            "
 
Signature · 1 line
2.25.1