Message ID | 20231121132937.933820-1-ppjadhav456@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe,master] sdbus-c++: Update ptest path | expand |
On Tue, 21 Nov 2023 18:59:37 +0530, Poonam Jadhav wrote: > Update ptest path to run sdbus-c++ ptest > > Applied, thanks! [1/1] sdbus-c++: Update ptest path commit: ba89a9058acbc1d20987373e60e528cc2518aff1 Best regards,
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. On Tue, Nov 21, 2023 at 5:29 AM Poonam Jadhav <ppjadhav456@gmail.com> wrote: > > From: Poonam Jadhav <poonam.jadhav@kpit.com> > > Update ptest path to run sdbus-c++ ptest > > Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com> > --- > meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb > index faf281485..869bfa951 100644 > --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb > +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb > @@ -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: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb index faf281485..869bfa951 100644 --- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_1.4.0.bb @@ -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"