From: eficas <> Date: Tue, 17 May 2005 14:25:24 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: CC_param_poursuite~133 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ceab423f7793a10f787f4251c36d2049587f774a;p=modules%2Feficas.git *** empty log message *** --- 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