]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/scripts/cppViolator.sh
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / TPC / scripts / cppViolator.sh
index 47e26f435e37af53ed7057ed1286af24e13921cb..51f552e87918806797eda7cc41fe7eda443f6798 100644 (file)
@@ -2,13 +2,22 @@
 #
 # simple script to filter  warnings in TPC code
 # root warning are filtered out
-# 
+#
+# Usage: 
+#    cd $ALICE_ROOT
+#    $ALICE_ROOT/TPC/scripts/cppViolator.sh
+# warnings.txt file will be created 
+# Please attach the the warnings.txt to the request for commit
+#
 
 
 make clean-TPC
 make -i -j 5 &> compile.txt
 
-cat compile.txt | grep -v $ROOTSYS | grep warning
+cat compile.txt | grep -v $ROOTSYS | grep -v G__ | grep -v TMatrix | grep -v TMap|  grep warning > warnings.txt
+
+cat warnings.txt
+