14 lines
192 B
Bash
Executable file
14 lines
192 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# build the test binary
|
|
rm -rf build
|
|
mkdir build
|
|
cd build
|
|
cmake -G "CodeBlocks - Unix Makefiles" ..
|
|
make -j4
|
|
|
|
# run it
|
|
cd ..
|
|
./build/radiolib-unittest --log_level=message
|