5 echo "---> unit_test.sh"
7 echo "Present working directory: "; pwd
9 # Platform-specific install methods
10 if (grep Ubuntu /etc/os-release > /dev/null 2>&1); then
11 echo "Installing libsctp-dev dependency for Ubuntu"
13 sudo apt-get install -y libsctp-dev
14 elif (grep RedHat /etc/os-release > /dev/null 2>&1) || \
15 (grep CentOS /etc/os-release > /dev/null 2>&1); then
16 echo "Installing lksctp-tools-devel dependency for CentOS/RedHat"
17 sudo yum install -y lksctp-tools-devel
19 echo "Unmatched OS/Distribution"
20 echo "Missing sctp library not installed"
24 cd odu;make clean_odu MACHINE=BIT64 MODE=TDD;make odu MACHINE=BIT64 MODE=TDD COVERAGE=1