Commit 6acd010b authored by gejun's avatar gejun

check return code of make in tools/make_all_examples

parent 3cb3cb18
saved_pwd_before_making=$PWD
for file in `find example tools -name Makefile`; do
cd $(dirname $file)
echo -e "\n[$file]"
make -sj4
echo
echo "[$file]"
if ! make -sj4; then
exit 1
fi
cd $saved_pwd_before_making
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment