[scarthgap][PATCH 1/2] libyang: remove unused files

Denys Dmytriyenko <[email protected]>
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
From: Denys Dmytriyenko <[email protected]>

After converting libyang from a separate version to a bbappend,
these files are no longer needed locally.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 ...ntext-skip-test-case-test_searchdirs.patch | 29 -------------------
 .../sysrepo/libyang/run-ptest                 | 18 ------------
 2 files changed, 47 deletions(-)
 delete mode 100644 meta-arago-extras/recipes-extended/sysrepo/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
 delete mode 100644 meta-arago-extras/recipes-extended/sysrepo/libyang/run-ptest

diff --git a/meta-arago-extras/recipes-extended/sysrepo/libyang/0001-test_context-skip-test-case-test_searchdirs.patch b/meta-arago-extras/recipes-extended/sysrepo/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
deleted file mode 100644
index 3c6aee92..00000000
--- a/meta-arago-extras/recipes-extended/sysrepo/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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
-
diff --git a/meta-arago-extras/recipes-extended/sysrepo/libyang/run-ptest b/meta-arago-extras/recipes-extended/sysrepo/libyang/run-ptest
deleted file mode 100644
index c507afb2..00000000
--- a/meta-arago-extras/recipes-extended/sysrepo/libyang/run-ptest
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# cd into right directory
-ptestdir=$(dirname "$(readlink -f "$0")")
-cd "$ptestdir"/tests || exit
-
-tests=$(find * -type f -name 'utest_*')
-
-for f in $tests
-do
-    if test -x ./"$f"; then
-        if ./"$f" > ./"$f".out 2> ./"$f".err; then
-            echo "PASS: $f"
-        else
-            echo "FAIL: $f"
-        fi
-    fi
-done
-- 
2.25.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.