Files
openwrt_yocto/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/run-ptest
T
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

15 lines
369 B
Bash

#!/bin/sh
if ! lsmod | grep -q sctp && ! modprobe sctp 2>/dev/null; then
echo "Couldn't load kernel module sctp."
echo "Test cases testsctp and testcnx will fail."
echo
fi
cmake -E cmake_echo_color --cyan "Running tests..."
if ctest --force-new-ctest-process ; then
echo "PASS: freediameter"
else
echo "FAIL: freediameter"
fi