From ceab423f7793a10f787f4251c36d2049587f774a Mon Sep 17 00:00:00 2001 From: eficas <> Date: Tue, 17 May 2005 14:25:24 +0000 Subject: [PATCH] *** empty log message *** --- Aster/lance_test.sh | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/Aster/lance_test.sh b/Aster/lance_test.sh index 2990ac5c..47cab21d 100755 --- a/Aster/lance_test.sh +++ b/Aster/lance_test.sh @@ -1,23 +1,31 @@ #unalias do #set -x -for file in `ls /local/noyret/Install_Eficas/lescomm/*` +version=V8 +passe=1 +rm -rf ./Tests_Batch/${version}/ok_${passe} +rm -rf ./Tests_Batch/${version}/bad_${passe} +rm -rf ./Tests_Batch/${version}/nt_${passe} +for file in `cat ./Tests_Batch/${version}/aTester` do - print $file - filepath=$file - grep "VISU_EFICAS='NON'" $filepath > /dev/null 2>/dev/null + echo $file + grep "VISU_EFICAS='NON'" $file > /dev/null 2>/dev/null rc=$? if [ "$rc" != "0" ] then - grep INCLUDE $filepath | grep -v "#" | grep -v INCLUDE_MATERIAU > /dev/null 2>/dev/null + grep INCLUDE $file | grep -v "#" | grep -v INCLUDE_MATERIAU > /dev/null 2>/dev/null rc=$? if [ "$rc" != "0" ] then - echo $file - ./test_eficas.py $filepath + cr=`./test_eficas.py $file` + if [ "${cr}" != "" ] + then + echo $file >> ./Tests_Batch/${version}/bad_${passe} + else + echo $file >> ./Tests_Batch/${version}/ok_${passe} + fi fi - fi -# read a; if [ "$a" == "b" ] -# then -# exit -# fi + else + echo $file >> ./Tests_Batch/${version}/nt_${passe} + fi + read a done -- 2.39.2