From a4b1a307ff3a1ae7ca9d4a8ac212025ab07f17eb Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Mon, 18 Feb 2019 17:48:56 +0100 Subject: 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 Message-Id: <20190218164856.23861-5-frenzy@frenzy.cz> Signed-off-by: David Gibson --- tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 1fa14ff..04fc1e8 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -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 -- cgit v1.1