mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 08:07:24 +04:00
libdrm-tests ships DRM tools (modetest, proptest, ...) with no --version flag, so the generic probe aborts with "No executables in the package provided version" and fails CI. test-version.sh is shared by every subpackage built from this directory and a non-zero exit fails it, so it must accept the whole family (the libraries ship no executables either) -- hence libdrm*, not just libdrm-tests. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
17 lines
302 B
Bash
Executable File
17 lines
302 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
# libdrm-tests ships DRM tools (modetest, ...) with no --version flag; the other
|
|
# subpackages ship no executables. Skip the version probe for the whole family.
|
|
case "$PKG_NAME" in
|
|
libdrm*)
|
|
exit 0
|
|
;;
|
|
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|