aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/freediameter/files/run-ptest
blob: 3c841644b7aa44f6ad50379b5d98999d7a6699a7 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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..."
ctest --force-new-ctest-process