Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | # | |
3 | # simple script to filter warnings in TPC code | |
4 | # root warning are filtered out | |
5 | # | |
6 | # Usage: | |
7 | # cd $ALICE_ROOT | |
8 | # $ALICE_ROOT/TPC/scripts/cppViolator.sh | |
9 | # warnings.txt file will be created | |
10 | # Please attach the the warnings.txt to the request for commit | |
11 | # | |
12 | ||
13 | ||
14 | make clean-TPC | |
15 | make -i -j 5 &> compile.txt | |
16 | ||
17 | cat compile.txt | grep -v $ROOTSYS | grep -v G__ | grep -v TMatrix | grep -v TMap| grep warning > warnings.txt | |
18 | ||
19 | cat warnings.txt | |
20 | ||
21 | ||
22 | ||
23 | ||
24 |