sdbus-c++: Update ptest path

Update ptest path to run sdbus-c++ ptest

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Poonam Jadhav 2023-11-21 18:59:37 +05:30 committed by Khem Raj
parent 6850efd066
commit ba89a9058a
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"