git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a547770
)
python3-lxml: add package guard to test.sh
author
Alexandru Ardelean
<redacted>
Thu, 9 Apr 2026 07:22:10 +0000
(10:22 +0300)
committer
Alexandru Ardelean
<redacted>
Fri, 10 Apr 2026 11:01:09 +0000
(14:01 +0300)
The test.sh lacked a package name guard, causing it to run (and fail)
when the -src subpackage was tested without python3 installed.
Add the standard guard to skip the test for non-main packages.
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/python-lxml/test.sh
patch
|
blob
|
history
diff --git
a/lang/python/python-lxml/test.sh
b/lang/python/python-lxml/test.sh
index e175d9239cd64cbaae8427bf7aac213c0f2d0c8b..87593c0b44eb57562fb336df40225720f1d3a932 100644
(file)
--- a/
lang/python/python-lxml/test.sh
+++ b/
lang/python/python-lxml/test.sh
@@
-1,5
+1,7
@@
#!/bin/sh
+[ "$1" = python3-lxml ] || exit 0
+
EXP_VER="$2"
python3 - << EOF
git clone https://git.99rst.org/PROJECT