diff mbox series

[meta-arago,master,v5,2/2] nnstreamer: Add runtime dependency from tests to main package

Message ID 20260318083015.2295406-3-p-deshmukh@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series nnstreamer: Fix buildpaths QA error and establish test dependencies | expand

Commit Message

Pratham Deshmukh March 18, 2026, 8:30 a.m. UTC
Add RDEPENDS from nnstreamer-tests to nnstreamer to ensure the main
package is automatically installed when the test package is requested.
This establishes proper dependency relationship where test components
depend on the core functionality they are testing.

Signed-off-by: Pratham Deshmukh <p-deshmukh@ti.com>
---
Change Logs:
 v4 -> v5:
 - Split buildpaths fix and dependency changes into separate commits for
   better review and maintenance
 - Establish proper dependency directions where test components depend on 
   core functionality for testing
 v3 -> v4:
 - Use RDEPENDS approach instead of package consolidation to maintain
   clean separation between runtime and test components.
 v2 -> v3:
 - Fix runitme dependencies issue for unittest_filter_onnxruntime.
 - Upgrade recipe to make it QA compliant.
 v1 -> v2:
 - Added fix commit hash in the commit message.

 .../recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb           | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
index 0fd5cac9..4ad4373a 100644
--- a/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
+++ b/meta-arago-extras/recipes-multimedia/nnstreamer/nnstreamer_2.6.0.bb
@@ -60,6 +60,8 @@  FILES:${PN} += "\
 "
 INSANE_SKIP:${PN} += "dev-so"
 
+RDEPENDS:${PN}-tests = "nnstreamer"
+
 PACKAGES =+ "${PN}-tests"
 
 FILES:${PN}-tests += "\