Skip to contentSkip to conversation

sdbus-c++: Update ptest path

PATCH Applied Poonam Jadhav 2 participants 3 messages Nov 21, 2023 – Nov 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sdbus-c++: Update ptest path

From: Poonam Jadhav <[email protected]>

Update ptest path to run sdbus-c++ ptest

---
 meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb +6 -1
index faf281485..869bfa951 100644
@@ -39,7 +39,12 @@ do_install:append() {
     fi
 }
 
-PTEST_PATH = "${libdir}/${BPN}/tests"
+PTEST_PATH = "${libdir}/${BPN}/ptest"
+do_install_ptest() {
+    install -d ${D}${PTEST_PATH}
+    cp -r ${B}/tests/sdbus-c++-unit-tests  ${D}${PTEST_PATH}
+}
+
 FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/"
 FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp"
 
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 3 lines · Poonam Jadhav

Update ptest path to run sdbus-c++ ptest

Applied, thanks!

[1/1] sdbus-c++: Update ptest path

      commit: ba89a9058acbc1d20987373e60e528cc2518aff1

Best regards,

Signature · 1 line
Khem Raj <[email protected]>
#2 lore raw
In reply to Poonam Jadhav

why do we need this change ? I am seeing it copying tests to ptest folder but the real test is already installed under tests folder and run-ptest script runs that test not the one copied by this patch.

Quoted 40 lines · Poonam Jadhav

From: Poonam Jadhav <[email protected]>

Update ptest path to run sdbus-c++ ptest

---
 meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb +6 -2
index faf281485..869bfa951 100644
@@ -39,7 +39,12 @@ do_install:append() {
     fi
 }
 
-PTEST_PATH = "${libdir}/${BPN}/tests"
+PTEST_PATH = "${libdir}/${BPN}/ptest"
+do_install_ptest() {
+    install -d ${D}${PTEST_PATH}
+    cp -r ${B}/tests/sdbus-c++-unit-tests  ${D}${PTEST_PATH}
+}
+
 FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/"
 FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp"
 
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#106980): https://lists.openembedded.org/g/openembedded-devel/message/106980
Mute This Topic: https://lists.openembedded.org/mt/102728032/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-