mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-07 13:29:19 +00:00
16 lines
227 B
Bash
16 lines
227 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "$COMPILER" ];
|
||
|
then
|
||
|
export CC=$COMPILER
|
||
|
fi
|
||
|
cd contrib/ports/unix/check
|
||
|
#build and run unit tests
|
||
|
make clean all
|
||
|
ERR=$?
|
||
|
if [ $ERR != 0 ]; then
|
||
|
echo "unittests build failed"
|
||
|
exit 33
|
||
|
fi
|
||
|
make check
|