]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authoreficas <>
Tue, 17 May 2005 14:25:24 +0000 (14:25 +0000)
committereficas <>
Tue, 17 May 2005 14:25:24 +0000 (14:25 +0000)
Aster/lance_test.sh

index 2990ac5c3af87f9fcd57c1181ba3f8d1c95b66e9..47cab21db997f9a8aec9c969ff0177ff101a008a 100755 (executable)
@@ -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