meta-openembedded/meta-networking/recipes-protocols/freediameter/files/run-ptest
Khem Raj 47ccb88d94
freediameter: Upgrade to latest on master 1.5.0+
This also fixes all ptests, therefore move freediameter
out of PTESTS_PROBLEMS_META_NETWORKING to PTESTS_FAST_META_NETWORKING

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-15 21:01:12 -07: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