Changeset 61c9ee2 in mainline
- Timestamp:
- 2018-01-08T18:18:16Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1728134, 931ef19, fd68aaf
- Parents:
- 3d95c9d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ccheck.sh
r3d95c9d r61c9ee2 36 36 find abi kernel boot uspace -type f -regex '^.*\.[ch]$' | ( 37 37 while read fname; do 38 $ccheck $fname >/tmp/ccheck.out 2>&1 38 outfile="$(mktemp)" 39 $ccheck $fname >"$outfile" 2>&1 39 40 rc=$? 40 41 if [ .$rc == .0 ]; then 41 if [ -s /tmp/ccheck.out] ; then42 if [ -s "$outfile" ] ; then 42 43 srepcnt=$((srepcnt + 1)) 43 echo '**' Reports for file $fname: '**' 44 cat /tmp/ccheck.out 44 cat "$outfile" 45 45 else 46 46 snorepcnt=$((snorepcnt + 1)) … … 49 49 fcnt=$((fcnt + 1)) 50 50 fi 51 52 rm -f "$outfile" 51 53 done 52 54
Note:
See TracChangeset
for help on using the changeset viewer.