Commit 7f2d20a1 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

test if cblas/lapacke.h files are in sources ...

parent 772c496b
......@@ -28,8 +28,11 @@ chameleon.lcov --output chameleon-coverage.xml
export SOURCES_TO_ANALYZE=`bash -c 'find ./build -type d -name CMakeFiles -prune -o -type d -name Testing -prune -o -type f -regex ".*\.c\|.*\.h" -print && \
find . -path ./build -prune -o -type f -regex "^[^z]*\.c" -print && \
find . -path ./build -prune -o -type f -regex "^[^z]*\.h" ! -name 'lapacke*.h' ! -name 'cblas*.h' -print | xargs'`
echo $SOURCES_TO_ANALYZE |grep cblas
echo $SOURCES_TO_ANALYZE |grep lapacke
# Undefine this because not relevant in our configuration
# run cppcheck analysis
cppcheck -v -f --language=c --platform=unix64 --enable=all --xml --xml-version=2 --suppress=missingIncludeSystem ${UNDEFINITIONS} ${SOURCES_TO_ANALYZE} 2> chameleon-cppcheck.xml
# run rats analysis
Supports Markdown
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