pylibfdt:tests: Extend the way how to find a Python module
Python 3 C extensions have suffix containing platform, Python version and another details in the name so the condition has to be extended. Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Message-Id: <20190218164856.23861-5-frenzy@frenzy.cz> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>main
parent
625dd8aaf2
commit
a4b1a307ff
|
@ -973,7 +973,7 @@ if [ -z "$TESTSETS" ]; then
|
|||
TESTSETS="libfdt utilfdt dtc dtbs_equal fdtget fdtput fdtdump fdtoverlay"
|
||||
|
||||
# Test pylibfdt if the libfdt Python module is available.
|
||||
if [ -f ../pylibfdt/_libfdt.so ]; then
|
||||
if [ -f ../pylibfdt/_libfdt.so ] || [ -f ../pylibfdt/_libfdt.cpython-3*.so ]; then
|
||||
TESTSETS="$TESTSETS pylibfdt"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue