diff options
author | Vincent COUVERT <vincent.couvert@scilab.org> | 2009-04-16 11:16:11 +0200 |
---|---|---|
committer | Vincent COUVERT <vincent.couvert@scilab.org> | 2009-04-16 11:16:11 +0200 |
commit | fdd4fd7ba7cc996abd38a1cc4ee58c2c42c75a65 (patch) | |
tree | 40aad060ba969bebd700ed58b7fd7ef7e44b8a99 /tests | |
parent | bd2ad73911dda9b5ce9e87fbb655617f1a47e5f1 (diff) | |
download | scilab-fdd4fd7ba7cc996abd38a1cc4ee58c2c42c75a65.zip scilab-fdd4fd7ba7cc996abd38a1cc4ee58c2c42c75a65.tar.gz |
Remove useless files
Diffstat (limited to 'tests')
-rw-r--r-- | tests/m2sci_tests/Makefile | 19 | ||||
-rw-r--r-- | tests/m2sci_tests/Makefile.mak | 11 | ||||
-rw-r--r-- | tests/m2sci_tests/VALIDATION_MANUELLE_REF.txt | 87 | ||||
-rw-r--r-- | tests/m2sci_tests/cleanTests.sce | 37 |
4 files changed, 0 insertions, 154 deletions
diff --git a/tests/m2sci_tests/Makefile b/tests/m2sci_tests/Makefile deleted file mode 100644 index 26ef14e..0000000 --- a/tests/m2sci_tests/Makefile +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | SHELL = /bin/sh | ||
2 | |||
3 | SCIDIR = ../.. | ||
4 | |||
5 | include ../../Makefile.incl | ||
6 | |||
7 | info: | ||
8 | @echo "Type \"make tests\" in tests directory" | ||
9 | @echo " to test M2SCI" | ||
10 | @echo " SEE THE README FILE (IMPORTANT) " | ||
11 | |||
12 | tests: | ||
13 | $(SCIDIR)/bin/scilab -nwni -nb -f m2sci.sce | ||
14 | |||
15 | clean :: | ||
16 | $(SCIDIR)/bin/scilab -nwni -nb -f cleanTests.sce | ||
17 | |||
18 | distclean:: | ||
19 | $(SCIDIR)/bin/scilab -nwni -nb -f cleanTests.sce | ||
diff --git a/tests/m2sci_tests/Makefile.mak b/tests/m2sci_tests/Makefile.mak deleted file mode 100644 index a469867..0000000 --- a/tests/m2sci_tests/Makefile.mak +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | |||
2 | SCIDIR1 = ..\.. | ||
3 | |||
4 | tests: | ||
5 | $(SCIDIR1)\bin\scilex -nb -f m2sci.sce | ||
6 | |||
7 | clean :: | ||
8 | $(SCIDIR1)\bin\scilex -nb -f clean.sce | ||
9 | |||
10 | distclean:: | ||
11 | $(SCIDIR1)\bin\scilex -nb -f clean.sce | ||
diff --git a/tests/m2sci_tests/VALIDATION_MANUELLE_REF.txt b/tests/m2sci_tests/VALIDATION_MANUELLE_REF.txt deleted file mode 100644 index 1ee3da7..0000000 --- a/tests/m2sci_tests/VALIDATION_MANUELLE_REF.txt +++ /dev/null | |||
@@ -1,87 +0,0 @@ | |||
1 | Validation manuelle de certains fichiers de test pour M2SCI | ||
2 | |||
3 | ACOTH : | ||
4 | - Problème de signe de la partie complex du résultat pour certaines valeurs (un message l'indique dans le fichier traduit) | ||
5 | |||
6 | ALL : | ||
7 | - Problème de taille inférée pour la matrice vide | ||
8 | - une matrice vide est forcément un Double en Scilab jamais un Booléen contrairement à Matlab | ||
9 | |||
10 | ANY : | ||
11 | - Voir ALL | ||
12 | |||
13 | ASIN : | ||
14 | - Résultats parfois de signes contraires entre Matlab et Scilab (un message l'indique dans le fichier traduit) | ||
15 | |||
16 | ATANH : | ||
17 | - Voir ASIN | ||
18 | - Parfois Scilab revoit Nan+Nan*i quand Matlab revoie Inf | ||
19 | |||
20 | COLON : | ||
21 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
22 | |||
23 | DIFF : | ||
24 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
25 | |||
26 | DOT_POWER : | ||
27 | - Problème du au fait que Matlab considère que Nan + Nan*i est complexe et pas Scilab. | ||
28 | - En Matlab mat2str(Nan+Nan*i) = Nan !!! | ||
29 | |||
30 | EIG : | ||
31 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
32 | |||
33 | EQUAL : | ||
34 | - Problème de la matrice vide est forcément un Double en Scilab jamais un Booléen contrairement à Matlab | ||
35 | - Quand on impose la valeur de sortie [], le type inféré est Double au lieu de Boolean | ||
36 | |||
37 | GREATER_EQUAL : | ||
38 | - Voir EQUAL | ||
39 | |||
40 | GREATER : | ||
41 | - Voir EQUAL | ||
42 | |||
43 | LEFT_DIVISION : | ||
44 | - Le problème vient de l'usage de isreal avec 0 comme précision...il faudrait peut être utiliser %eps à la place | ||
45 | |||
46 | LESS_EQUAL : | ||
47 | - Voir EQUAL | ||
48 | |||
49 | LESS : | ||
50 | - Voir EQUAL | ||
51 | |||
52 | LOGICAL : | ||
53 | - Voir EQUAL | ||
54 | |||
55 | MAX : | ||
56 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
57 | |||
58 | MIN : | ||
59 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
60 | |||
61 | NOT_EQUAL : | ||
62 | - Voir EQUAL | ||
63 | |||
64 | POWER : | ||
65 | - BUG DE SCILAB | ||
66 | - Problème du au fait que Matlab considère que Nan + Nan*i est complexe et pas Scilab. | ||
67 | - En Matlab mat2str(Nan+Nan*i) = Nan !!! | ||
68 | |||
69 | PROD : | ||
70 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
71 | |||
72 | QR : | ||
73 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
74 | |||
75 | SCHUR : | ||
76 | - Les signes des résultats diffèrent parfois mais les résulats Matlab et Scilab sont considéres comme exacts... | ||
77 | |||
78 | SPARSE : | ||
79 | - Une matrice vide peut etre de type sparse en Matlab mais pas en Scilab | ||
80 | - Usage de isreal avec 0 comme précision...il faudrait peut être utiliser %eps à la place | ||
81 | |||
82 | SUM : | ||
83 | - Problème de taille de la matrice vide (Scilab [0 0] et Matlab une seule dimension à 0) | ||
84 | |||
85 | SVD : | ||
86 | - Problème de taille inférée pour la matrice vide | ||
87 | - Pour deux RHS, la fonction Matlab a un bug, S n'est pas carrée... \ No newline at end of file | ||
diff --git a/tests/m2sci_tests/cleanTests.sce b/tests/m2sci_tests/cleanTests.sce deleted file mode 100644 index 0f9610d..0000000 --- a/tests/m2sci_tests/cleanTests.sce +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | mode(-1); | ||
2 | |||
3 | // Copyright INRIA | ||
4 | // Scilab Project - V. Couvert | ||
5 | // This file remove all files generated when testing M2SCI so that tests can be replayed | ||
6 | |||
7 | disp("Cleaning test directories...") | ||
8 | |||
9 | // Get the absolute path | ||
10 | [units,typs,nams]=file(); | ||
11 | clear units typs | ||
12 | for k=size(nams,"*"):-1:1 | ||
13 | l=strindex(nams(k),"cleanTests.sce"); | ||
14 | if l<>[] then | ||
15 | DIR=part(nams(k),1:l($)-1); | ||
16 | break | ||
17 | end | ||
18 | end | ||
19 | |||
20 | // Del log | ||
21 | mdelete(DIR+"*.log") | ||
22 | |||
23 | // Clean generated_files/ directory | ||
24 | disp("Cleaning generated_files/ directory...") | ||
25 | mdelete(pathconvert(DIR+"generated_files/*.sci",%F)) | ||
26 | mdelete(pathconvert(DIR+"generated_files/*.dia",%F)) | ||
27 | mdelete(pathconvert(DIR+"generated_files/*.cat",%F)) | ||
28 | mdelete(pathconvert(DIR+"generated_files/*.log",%F)) | ||
29 | |||
30 | disp("Cleaning written_files/ directory...") | ||
31 | mdelete(pathconvert(DIR+"written_files/*.sci",%F)) | ||
32 | mdelete(pathconvert(DIR+"written_files/*.cat",%F)) | ||
33 | mdelete(pathconvert(DIR+"written_files/*.log",%F)) | ||
34 | |||
35 | disp("All directories clean...") | ||
36 | |||
37 | quit | ||