meta-openembedded/meta-python/recipes-devtools/python/python3-pydbus/run-ptest
Derek Straka 3c188f75ea python3-dbus: re-add recipe with latest patches and add ptest
The python3-dbus package was removed in (dac933e).  While the upstream
project isn't active, other distributions (e.g. Fedora, Debian, etc)
continue to offer the package and apply patches to resolve reported issues.

While other packages offer similar functionality (e.g. dasbus), they are not
drop in replacements and the general dbus functionality works out of the box.
The python package has accomplished it's goal of providing useful functionality,
and the proposal is to continue to have it available in meta-python for use.

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-22 21:19:50 -07:00

340 B

#!/bin/sh

for case in find tests -type f -name '*.sh'; do bash $case python3 >$case.output 2>&1 ret=$? if [ $ret -ne 0 ]; then cat $case.output echo "FAIL: ${case}" elif grep -i 'SKIP' $case.output; then echo "SKIP: ${case}" else echo "PASS: ${case}" fi rm -f $case.output done