Files
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

16 lines
430 B
Bash

#!/bin/sh
cd $(dirname "$(readlink -f "$0")")
# python3-gpiod uses gpio-sim - a configfs-based testing module. We need to
# make sure configfs is mounted before running any tests.
modprobe configfs
mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config
python3 -m gpiod-test -v > ./python3-gpiod.out 2>&1
if [ $? -ne 0 ]; then
echo "FAIL: python3-gpiod"
else
echo "PASS: python3-gpiod"
fi