Commit c6af3f08 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Filter results in QA Scripts.

	* build-aux/mln_check_all_hh_inclusions,
	* build-aux/mln_check_missing_all_hh_headers: Filter non relevant
	results.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4494 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent fd317a4d
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.
......
......@@ -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
......
......@@ -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
......
Markdown is supported
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