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

20 lines
340 B
Bash

#!/bin/sh
ptestdir=$(dirname "$(readlink -f "$0")")
cd $ptestdir/tests
./test_cunit > cunit_test_out.tmp
echo "--- Test output ---"
cat cunit_test_out.tmp
echo ""
echo "--- ptest result ---"
grep "Failures: 0" cunit_test_out.tmp > /dev/null
if [ $? -eq 0 ]; then
echo "PASS: cunit"
else
echo "FAIL: cunit"
fi
rm -f cunit_test_out.tmp