mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
24 lines
322 B
Bash
Executable File
24 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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 -j 4
|
|
|
|
cd ../../../../
|
|
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
ERR=$?
|
|
if [ $ERR != 0 ]; then
|
|
echo "cmake failed"
|
|
exit 33
|
|
fi
|
|
cmake --build .
|