diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-26 15:29:03 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-26 15:29:03 +0100 |
commit | 73e973d5f634898c5ae137ad61e7e9ce5c1ae775 (patch) | |
tree | f5e8b55531cd3b3596cd7f9f07f743d2901b3057 | |
parent | 272c377ba4ff44e77e179de9868cdce6d26133bd (diff) | |
download | ffi-efl-73e973d5f634898c5ae137ad61e7e9ce5c1ae775.zip ffi-efl-73e973d5f634898c5ae137ad61e7e9ce5c1ae775.tar.gz |
tools/check_loading: manage nativ subdirectories, keep failure outpu log files
-rwxr-xr-x | tools/check_loading | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/check_loading b/tools/check_loading index d53be77..88ad366 100755 --- a/tools/check_loading +++ b/tools/check_loading @@ -9,13 +9,14 @@ parentdir=${abspath%/*/*} # function run () { echo -n " ${1##*/}" - $RUBY -I $parentdir/lib $1 2>/dev/null && echo -e "$GREEN OK$RESET" || echo -e "$RED KO$RESET" + outf=/tmp/ffi-efl-${1##*/} + $RUBY -I $parentdir/lib $1 2>>$outf && rm $outf && echo -e "$GREEN OK$RESET" || echo -e "$RED KO$RESET" } # function each () { echo $($RUBY --version) echo " lib/efl/native/*.rb" - for native in $parentdir/lib/efl/native/*.rb; do + for native in $(find $parentdir/lib/efl/native/ -name *.rb); do run $native done echo " lib/efl/*.rb" |