
* build-aux/mln_check_all_hh_inclusions, * build-aux/mln_check_missing_all_hh_headers: Filter non relevant results. --- ChangeLog | 8 ++++++++ build-aux/mln_check_all_hh_inclusions | 12 ++++++++++-- build-aux/mln_check_missing_all_hh_headers | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f7fa700..2946671 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-09-21 Guillaume Lazzara <lazzara@lrde.epita.fr> + + Filter results in QA Scripts. + + * build-aux/mln_check_all_hh_inclusions, + * build-aux/mln_check_missing_all_hh_headers: Filter non relevant + results. + 2009-09-10 Roland Levillain <roland@lrde.epita.fr> * configure.ac: Configure milena/apps/data.hh. diff --git a/build-aux/mln_check_all_hh_inclusions b/build-aux/mln_check_all_hh_inclusions index 23b781c..e48992d 100755 --- a/build-aux/mln_check_all_hh_inclusions +++ b/build-aux/mln_check_all_hh_inclusions @@ -34,7 +34,14 @@ check() abs_dir=`abs_filepath $1` mln_based_dir=`mln_based_path $1` -# Checking local all.hh + + # Omitting internal directories. + # They are not supposed to contain all.hh files. + if [ -z "`echo $abs_dir | grep -v internal`" ]; then + return + fi + + # Checking local all.hh if ! [ -e "$abs_dir/all.hh" ]; then echo "WARNING: no all.hh header in $mln_based_dir" >&2 return @@ -81,7 +88,8 @@ fi while [ $# -ne 0 ]; do - if [ "`basename $1`" != "all.hh" ]; then + if [ "`basename $1`" != "all.hh" ] && [ "`basename $1`" != "essential.hh" ]; then + check $1 "$report" fi shift diff --git a/build-aux/mln_check_missing_all_hh_headers b/build-aux/mln_check_missing_all_hh_headers index 4062076..338189b 100755 --- a/build-aux/mln_check_missing_all_hh_headers +++ b/build-aux/mln_check_missing_all_hh_headers @@ -32,7 +32,7 @@ check() local abs_path=`abs_filepath $1/all.hh` # Checking local all.hh - for dir in `find "$abs_path" -type d`; do + for dir in `find "$abs_path" -type d | grep -v internal`; do if ! [ -e "$dir/all.hh" ]; then path=`mln_based_path $dir/all.hh` if [ -z "$2" ]; then -- 1.5.6.5
participants (1)
-
Guillaume Lazzara