Files
dragonpilot/panda/tests/build_strict/test_build_strict.sh

16 lines
241 B
Bash
Executable File

#!/bin/bash -e
cd ../../board/
make -f Makefile.strict clean
make -f Makefile.strict bin 2> compiler_output.txt
if [[ -s "compiler_output.txt" ]]
then
echo "Found alerts from the compiler:"
cat compiler_output.txt
exit 1
fi