Commit 33ce4e80 by Marcus Winter

scripts: added return code in run_cpplint

parent 0d048299
......@@ -75,6 +75,8 @@ PARENTHESIS_RULE=",-whitespace/parens"
C_CAST_RULE=",-readability/casting"
LONG_LINES_RULE=",-whitespace/line_length"
retval=true
##Excluded files
RAND_FILES=( embb_mtapi_test_group.cc embb_mtapi_test_queue.cc embb_mtapi_test_task.cc queue_test-inl.h )
for project in base_c mtapi_c base_cpp mtapi_cpp algorithms_cpp containers_cpp dataflow_cpp
......@@ -119,5 +121,10 @@ do
fi
done
python ${c} --filter=$current_rules --root="$project/include" --output=vs7 $file
if [ $? != $0 ]; then
retval=false
fi
done
done
$retval
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 sign in to comment