modif verifier_exeHZ.pl : ajout d une verification de la presence des commandes : tcsh, Perl/genere_rapport.pl et Perl/test.pl
This commit is contained in:
parent
2195fd7812
commit
506a8e3158
4 changed files with 1312 additions and 26 deletions
|
@ -1229,6 +1229,13 @@ autre modif : harmonisation des affichages des commentaires
|
|||
\item[-] modif de cette documentation : ajout de la section \ref{section_Pre_requis}
|
||||
\end{itemize}%tiret
|
||||
|
||||
~\\
|
||||
\item[$\bullet$] 2018-03-15 (Julien Troufflard) :
|
||||
\begin{itemize}
|
||||
\item[-] modif du script \verb|verifier_exeHZ.pl| : ajout d'une vérification de la présence des commandes suivantes : \verb|tcsh|, \verb|Perl/genere_rapport.pl| et \verb|Perl/test.pl|
|
||||
\end{itemize}%tiret
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%template d ajout d une nouvelle mise à jour (composé d'une puce "bullet" avec Date et auteur de la modif, suivie d une série de puce "-"
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
|
|
@ -1,31 +1,93 @@
|
|||
---------------------------------------
|
||||
- RAPPORT DE TEST -
|
||||
---------------------------------------
|
||||
- version HZ++ : HZppfast 6.811
|
||||
- version HZ++ : HZppfast 6.828
|
||||
|
||||
- date : 22/10/2017
|
||||
- heure : 12:14 (heure locale)
|
||||
- machine : lo-lg2m.local
|
||||
- date : 15/03/2018
|
||||
- heure : 9:47 (heure locale)
|
||||
- machine : hdom-1057.univ-ubs.fr
|
||||
---------------------------------------
|
||||
|
||||
|
||||
|
||||
./Batterie/FONCTION_UNIQUE/LOI_DE_COMPORTEMENT/CP_venant_du_3D/Test_L_tunnel_ISOELAS_CP/.CVisu1
|
||||
-------------------------------------------------------
|
||||
| temps cpu : 00:00:57.945 (processeur : 99.7%)
|
||||
| temps systeme : 00:00:00.107 (processeur : 99.7%)
|
||||
| temps reel : 00:00:58.16
|
||||
| temps cpu : 00:01:03.275 (processeur : 99.8%)
|
||||
| temps systeme : 00:00:00.673 (processeur : 99.8%)
|
||||
| temps reel : 00:01:04.01
|
||||
-------------------------------------------------------
|
||||
|
||||
-> comparaison .maple : OK (pour toutes les grandeurs testees)
|
||||
-> comparaison .maple : ECHEC
|
||||
|
||||
-> grandeur testee : colonne [1]
|
||||
- comparaison absolue (precision : 1.e-6) -> OK
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [2]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 530.923969167200
|
||||
-> Valeur reference = 535.604458230100
|
||||
-> Difference = -4.680489
|
||||
- comparaison relative (precision : 1.e-1%) -> ECHEC
|
||||
-> Valeur = 530.923969167200
|
||||
-> Valeur reference = 535.604458230100
|
||||
-> Difference relative = -0.9%
|
||||
|
||||
-> grandeur testee : colonne [3]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 444.284714388000
|
||||
-> Valeur reference = 444.287168673100
|
||||
-> Difference = -0.002454
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [4]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 674.182450653700
|
||||
-> Valeur reference = 673.000490950400
|
||||
-> Difference = 1.181960
|
||||
- comparaison relative (precision : 1.e-1%) -> ECHEC
|
||||
-> Valeur = 674.182450653700
|
||||
-> Valeur reference = 673.000490950400
|
||||
-> Difference relative = 0.2%
|
||||
|
||||
-> grandeur testee : colonne [5]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 0.090371752152
|
||||
-> Valeur reference = 0.090446452942
|
||||
-> Difference = -0.000075
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [6]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = -0.036908188996
|
||||
-> Valeur reference = -0.036955510974
|
||||
-> Difference = 0.000047
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [7]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 11.251259878400
|
||||
-> Valeur reference = 11.259558894610
|
||||
-> Difference = -0.008299
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [8]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = -0.113020581234
|
||||
-> Valeur reference = -0.115616455001
|
||||
-> Difference = 0.002596
|
||||
- comparaison relative (precision : 1.e-1%) -> ECHEC
|
||||
-> Valeur = -0.113020581234
|
||||
-> Valeur reference = -0.115616455001
|
||||
-> Difference relative = -2.2%
|
||||
|
||||
|
||||
|
||||
./Batterie/FONCTION_UNIQUE/LOI_DE_COMPORTEMENT/CP_venant_du_3D/Test_L_tunnel_isohyper3dorgeas1_CP/.CVisu1
|
||||
-------------------------------------------------------
|
||||
| temps cpu : 00:00:15.253 (processeur : 99.7%)
|
||||
| temps systeme : 00:00:00.042 (processeur : 99.7%)
|
||||
| temps reel : 00:00:15.33
|
||||
| temps cpu : 00:00:15.554 (processeur : 99.8%)
|
||||
| temps systeme : 00:00:00.075 (processeur : 99.8%)
|
||||
| temps reel : 00:00:15.64
|
||||
-------------------------------------------------------
|
||||
|
||||
-> comparaison .maple : OK (pour toutes les grandeurs testees)
|
||||
|
@ -34,10 +96,69 @@
|
|||
|
||||
./Batterie/FONCTION_UNIQUE/LOI_DE_COMPORTEMENT/ISOELAS2D_C/Test_L_tunnel_ISOELAS2D_C/.CVisu1
|
||||
-------------------------------------------------------
|
||||
| temps cpu : 00:00:59.270 (processeur : 99.7%)
|
||||
| temps systeme : 00:00:00.105 (processeur : 99.7%)
|
||||
| temps reel : 00:00:59.49
|
||||
| temps cpu : 00:01:05.784 (processeur : 99.8%)
|
||||
| temps systeme : 00:00:01.721 (processeur : 99.8%)
|
||||
| temps reel : 00:01:07.57
|
||||
-------------------------------------------------------
|
||||
|
||||
-> comparaison .maple : OK (pour toutes les grandeurs testees)
|
||||
-> comparaison .maple : ECHEC
|
||||
|
||||
-> grandeur testee : colonne [1]
|
||||
- comparaison absolue (precision : 1.e-6) -> OK
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [2]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 843.867410081500
|
||||
-> Valeur reference = 842.919560463700
|
||||
-> Difference = 0.947850
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [3]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 520.377760745000
|
||||
-> Valeur reference = 520.382348856500
|
||||
-> Difference = -0.004588
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [4]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 687.377155512300
|
||||
-> Valeur reference = 688.241459886200
|
||||
-> Difference = -0.864304
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [5]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 0.092659856693
|
||||
-> Valeur reference = 0.092631390241
|
||||
-> Difference = 0.000028
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [6]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = -0.037722456209
|
||||
-> Valeur reference = -0.037480516547
|
||||
-> Difference = -0.000242
|
||||
- comparaison relative (precision : 1.e-1%) -> ECHEC
|
||||
-> Valeur = -0.037722456209
|
||||
-> Valeur reference = -0.037480516547
|
||||
-> Difference relative = 0.6%
|
||||
|
||||
-> grandeur testee : colonne [7]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = 11.543284852560
|
||||
-> Valeur reference = 11.553449943810
|
||||
-> Difference = -0.010165
|
||||
- comparaison relative (precision : 1.e-1%) -> OK
|
||||
|
||||
-> grandeur testee : colonne [8]
|
||||
- comparaison absolue (precision : 1.e-6) -> ECHEC
|
||||
-> Valeur = -0.097993085044
|
||||
-> Valeur reference = -0.063684590859
|
||||
-> Difference = -0.034308
|
||||
- comparaison relative (precision : 1.e-1%) -> ECHEC
|
||||
-> Valeur = -0.097993085044
|
||||
-> Valeur reference = -0.063684590859
|
||||
-> Difference relative = 53.9%
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -138,6 +138,29 @@ $exeHZ = shift(@args);
|
|||
#* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# verification generale
|
||||
# => verification de divers pre-requis qui seront necessaires par la suite
|
||||
# dans les divers executions de la procedure de verification
|
||||
#--------------------------------------------------------------------------
|
||||
#commande tcsh
|
||||
(verif_commande("tcsh") ne '0') or die "\nErreur (prog:$NOM_PROG) : commande tcsh introuvable...\n\n";
|
||||
|
||||
#presence du repertoire Perl/ et presence des scripts suivants :
|
||||
# - Perl/genere_rapport.pl
|
||||
# - Perl/test.pl
|
||||
# rq : ces scripts doivent etre executables
|
||||
(-d "Perl/") or die "\nErreur (prog:$NOM_PROG) : repertoire Perl/ introuvable dans le repertoire courant...\n\n";
|
||||
|
||||
(-e "Perl/genere_rapport.pl") or die "\nErreur (prog:$NOM_PROG) : script Perl/genere_rapport.pl introuvable...\n\n";
|
||||
(-x "Perl/genere_rapport.pl") or die "\nErreur (prog:$NOM_PROG) : script Perl/genere_rapport.pl n est pas executable...\n\n";
|
||||
|
||||
(-e "Perl/test.pl") or die "\nErreur (prog:$NOM_PROG) : script Perl/test.pl introuvable...\n\n";
|
||||
(-x "Perl/test.pl") or die "\nErreur (prog:$NOM_PROG) : script Perl/test.pl n est pas executable...\n\n";
|
||||
|
||||
|
||||
|
||||
#--------------------------------------------------------------------------
|
||||
# verification des arguments et options
|
||||
#--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue