sdbus-c++: Update ptest path
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
@@ -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
Khem Raj
AppliedQuoted 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]>
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
Signed-off-by Poonam Jadhav <[email protected]>--- 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@@ -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]]
-=-=-=-=-=-=-=-=-=-=-=-