diff options
Diffstat (limited to 'scilab/modules/data_structures/tests/nonreg_tests')
44 files changed, 78 insertions, 28 deletions
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_11077.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_11077.dia.ref index 4f2228e..e90a0cb 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_11077.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_11077.dia.ref | |||
@@ -14,4 +14,3 @@ | |||
14 | // rlist() returned an error | 14 | // rlist() returned an error |
15 | rlist() | 15 | rlist() |
16 | ans = | 16 | ans = |
17 | |||
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.dia.ref index 6835e48..425b480 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Serge STEER | 4 | // Copyright (C) 2008 - INRIA - Serge STEER |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.tst index 38063e2..8aaab18 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1322.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Serge STEER | 4 | // Copyright (C) 2008 - INRIA - Serge STEER |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.dia.ref index cbfe66d9..25cb661 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.dia.ref | |||
@@ -1,10 +1,17 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
2 | // ============================================================================= | ||
3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | // Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> | ||
5 | // | ||
6 | // This file is distributed under the same license as the Scilab package. | ||
7 | // ============================================================================= | ||
1 | // <-- Non-regression test for bug 1712 --> | 8 | // <-- Non-regression test for bug 1712 --> |
2 | // | 9 | // |
3 | // <-- Bugzilla URL --> | 10 | // <-- Bugzilla URL --> |
4 | // http://bugzilla.scilab.org/show_bug.cgi?id=1712 | 11 | // http://bugzilla.scilab.org/show_bug.cgi?id=1712 |
5 | // | 12 | // |
6 | // <-- Short Description --> | 13 | // <-- Short Description --> |
7 | // Logical binary operations &,| with hypermatrices fail, as shown in the | 14 | // Logical binary operations &,| with hypermatrices fail, as shown in the |
8 | // following examples. (The unary operation ~ succeeds.) | 15 | // following examples. (The unary operation ~ succeeds.) |
9 | // | 16 | // |
10 | // -->hm=hypermat([2 2 2],1:8) | 17 | // -->hm=hypermat([2 2 2],1:8) |
@@ -25,10 +32,6 @@ | |||
25 | // ! F T ! | 32 | // ! F T ! |
26 | // ! T T ! | 33 | // ! T T ! |
27 | // ... | 34 | // ... |
28 | // Copyright INRIA | ||
29 | // Scilab Project - Pierre MARECHAL | ||
30 | // Copyright INRIA 2005 | ||
31 | // Date : 6 fevrier 2005 | ||
32 | //hm = hypermat([2 2 2],1:8); | 35 | //hm = hypermat([2 2 2],1:8); |
33 | //if execstr('hm>min(hm) & hm<max(hm)','errcatch') <>0 then bugmes();quit;end | 36 | //if execstr('hm>min(hm) & hm<max(hm)','errcatch') <>0 then bugmes();quit;end |
34 | //if execstr('hm==min(hm) | hm==max(hm)','errcatch') <>0 then bugmes();quit;end | 37 | //if execstr('hm==min(hm) | hm==max(hm)','errcatch') <>0 then bugmes();quit;end |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.tst index a160f30..f2caf2f 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1712.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> | 4 | // Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.dia.ref index 35f66df..749d27c 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.tst index ef847fe..0cd6b40 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1772.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.dia.ref index 1dfcf90..11dd8fd 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.dia.ref | |||
@@ -1,3 +1,10 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
2 | // ============================================================================= | ||
3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | // Copyright (C) 2005-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | ||
5 | // | ||
6 | // This file is distributed under the same license as the Scilab package. | ||
7 | // ============================================================================= | ||
1 | // <-- Non-regression test for bug 1784 --> | 8 | // <-- Non-regression test for bug 1784 --> |
2 | // | 9 | // |
3 | // <-- Bugzilla URL --> | 10 | // <-- Bugzilla URL --> |
@@ -5,10 +12,6 @@ | |||
5 | // | 12 | // |
6 | // <-- Short Description --> | 13 | // <-- Short Description --> |
7 | // Problem while inserting a matrix in an N-D matrix | 14 | // Problem while inserting a matrix in an N-D matrix |
8 | // Copyright INRIA | ||
9 | // Scilab Project - Serge Steer | ||
10 | // Copyright INRIA 2005 | ||
11 | // Date : 23 janvier 2006 | ||
12 | A = hypermat([3,3,2]); | 15 | A = hypermat([3,3,2]); |
13 | try | 16 | try |
14 | A(1,1:3,1:3)=[1 2 3;4 5 6;7 8 9]; | 17 | A(1,1:3,1:3)=[1 2 3;4 5 6;7 8 9]; |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.tst index e1bf9e1..c504b81 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1784.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2005-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2005-2008 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.dia.ref index 8347d9a..92a4696 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.dia.ref | |||
@@ -1,3 +1,10 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
2 | // ============================================================================= | ||
3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | ||
5 | // | ||
6 | // This file is distributed under the same license as the Scilab package. | ||
7 | // ============================================================================= | ||
1 | // <-- Non-regression test for bug 1956 --> | 8 | // <-- Non-regression test for bug 1956 --> |
2 | // | 9 | // |
3 | // <-- Bugzilla URL --> | 10 | // <-- Bugzilla URL --> |
@@ -14,10 +21,6 @@ | |||
14 | // a.b=[1 2 3]; | 21 | // a.b=[1 2 3]; |
15 | // a.c=[4 5 6] | 22 | // a.c=[4 5 6] |
16 | // but it's not smart and clear code... | 23 | // but it's not smart and clear code... |
17 | // Copyright INRIA | ||
18 | // Scilab Project - Serge Steer | ||
19 | // Copyright INRIA 2006 | ||
20 | // Date : 4 mai 2006 | ||
21 | clear a d | 24 | clear a d |
22 | a.b = [1 2 3]; | 25 | a.b = [1 2 3]; |
23 | d(1) = a; | 26 | d(1) = a; |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.tst index 61ec5bf..4b73f09 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_1956.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.dia.ref index 92cb2b2..04c669c 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Serge STEER | 4 | // Copyright (C) 2008 - INRIA - Serge STEER |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.tst index 8640f07..c691406 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_2081.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Serge STEER | 4 | // Copyright (C) 2008 - INRIA - Serge STEER |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.dia.ref index f57669a..5e5bd3f 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2009 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2009 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.tst index c71d2af..6eaa647 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_2588.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2009 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2009 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.dia.ref index 5119418..e7de23d 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.tst index 7032b11..9c835f2 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_3005.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> | 4 | // Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr> |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.dia.ref index 32631ac..9005dec 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Serge STEER | 4 | // Copyright (C) 2008 - INRIA - Serge STEER |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.tst index 7de476d..a5a06ba 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_3135.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Serge STEER | 4 | // Copyright (C) 2008 - INRIA - Serge STEER |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.dia.ref index 997490a..be3b3d5 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - DIGITEO - Allan CORNET | 4 | // Copyright (C) 2008 - DIGITEO - Allan CORNET |
@@ -12,10 +13,10 @@ | |||
12 | // <-- Short Description --> | 13 | // <-- Short Description --> |
13 | // -->l(2).row1(2)=M.row1(1) | 14 | // -->l(2).row1(2)=M.row1(1) |
14 | // l = | 15 | // l = |
15 | // | 16 | // |
16 | // list with entries: | 17 | // list with entries: |
17 | // 1: 1 | 18 | // 1: 1 |
18 | // !--error 246 | 19 | // !--error 246 |
19 | // Function not defined for given argument type(s). | 20 | // Function not defined for given argument type(s). |
20 | function M=%to_e(varargin) | 21 | function M=%to_e(varargin) |
21 | M = varargin($), | 22 | M = varargin($), |
@@ -32,8 +33,7 @@ function M=%to_e(varargin) | |||
32 | end | 33 | end |
33 | endfunction | 34 | endfunction |
34 | %to_6=%to_e | 35 | %to_6=%to_e |
35 | %to_6 = | 36 | %to_6 = |
36 | |||
37 | [M]=%to_6(varargin) | 37 | [M]=%to_6(varargin) |
38 | function M=%to_i_to(varargin) | 38 | function M=%to_i_to(varargin) |
39 | M=varargin($);N=varargin($-1) | 39 | M=varargin($);N=varargin($-1) |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.tst index ce8ab85..65393e7 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_3459.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - DIGITEO - Allan CORNET | 4 | // Copyright (C) 2008 - DIGITEO - Allan CORNET |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.dia.ref index ddb94c9..8b3ad67 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2009 - DIGITEO - Vincent COUVERT | 4 | // Copyright (C) 2009 - DIGITEO - Vincent COUVERT |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.tst index 6a43945..bcb9429 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_4015.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2009 - DIGITEO - Vincent COUVERT | 4 | // Copyright (C) 2009 - DIGITEO - Vincent COUVERT |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_424.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_424.dia.ref index 21bee8a..077da26 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_424.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_424.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Vincent COUVERT | 4 | // Copyright (C) 2008 - INRIA - Vincent COUVERT |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_424.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_424.tst index 95020e4..2a7fbff 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_424.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_424.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2008 - INRIA - Vincent COUVERT | 4 | // Copyright (C) 2008 - INRIA - Vincent COUVERT |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_475.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_475.dia.ref index 19a872d..4e1943e 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_475.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_475.dia.ref | |||
@@ -1,3 +1,10 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
2 | // ============================================================================= | ||
3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | ||
4 | // Copyright (C) ????-2008 - INRIA | ||
5 | // | ||
6 | // This file is distributed under the same license as the Scilab package. | ||
7 | // ============================================================================= | ||
1 | // <-- Non-regression test for bug 475 --> | 8 | // <-- Non-regression test for bug 475 --> |
2 | // | 9 | // |
3 | // <-- Bugzilla URL --> | 10 | // <-- Bugzilla URL --> |
@@ -10,7 +17,7 @@ | |||
10 | // | 17 | // |
11 | // On Scilab CVS with " min(), max() " function | 18 | // On Scilab CVS with " min(), max() " function |
12 | // The Error Messages are: | 19 | // The Error Messages are: |
13 | // !--error 59 | 20 | // !--error 59 |
14 | // incorrect # of outputs in the function | 21 | // incorrect # of outputs in the function |
15 | // arguments are : | 22 | // arguments are : |
16 | // x | 23 | // x |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_475.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_475.tst index 904fcb1..5c4f6fa 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_475.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_475.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_476.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_476.dia.ref index 6693b77..3a58d7b 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_476.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_476.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_476.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_476.tst index 94d2fb2..1935643 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_476.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_476.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_477.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_477.dia.ref index 38b533e..33e4c0a 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_477.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_477.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_477.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_477.tst index 6467759..8899cb8 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_477.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_477.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_480.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_480.dia.ref index 4f7aa0a..7a817bb 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_480.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_480.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_480.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_480.tst index 890a2a9..3c9cc7f 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_480.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_480.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_5588.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_5588.dia.ref index 1580e9a..c623135 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_5588.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_5588.dia.ref | |||
@@ -18,13 +18,13 @@ clear %0_i_a %0_i_A | |||
18 | t=tlist(["a","b","c"],10,"foo"); | 18 | t=tlist(["a","b","c"],10,"foo"); |
19 | if execstr("t.b=null()","errcatch")==0 then bugmes();quit;end | 19 | if execstr("t.b=null()","errcatch")==0 then bugmes();quit;end |
20 | function t=%0_i_a(i,void,t) | 20 | function t=%0_i_a(i,void,t) |
21 | f=getfield(1,t); | 21 | f=getfield(1,t); |
22 | k=find(f==i); | 22 | k=find(f==i); |
23 | if k<>[] then | 23 | if k<>[] then |
24 | f(k)=[]; | 24 | f(k)=[]; |
25 | setfield(k,null(),t); | 25 | setfield(k,null(),t); |
26 | setfield(1,f,t); | 26 | setfield(1,f,t); |
27 | end | 27 | end |
28 | endfunction | 28 | endfunction |
29 | if execstr("t.b=null()","errcatch")<>0 then bugmes();quit;end | 29 | if execstr("t.b=null()","errcatch")<>0 then bugmes();quit;end |
30 | if or(t<>tlist(["a","c"],"foo")) then bugmes();quit;end | 30 | if or(t<>tlist(["a","c"],"foo")) then bugmes();quit;end |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_568.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_568.dia.ref index ac5356f..14dbe59 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_568.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_568.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_568.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_568.tst index 5092fb6..81f1500 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_568.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_568.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_570.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_570.dia.ref index a7e6b20..93c7d16 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_570.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_570.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_570.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_570.tst index 72557fd..b1abdc2 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_570.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_570.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) ????-2008 - INRIA | 4 | // Copyright (C) ????-2008 - INRIA |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.dia.ref index 9cfd2c6..18e2b38 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2010 - INRIA -Serge.Steer@inria.fr | 4 | // Copyright (C) 2010 - INRIA -Serge.Steer@inria.fr |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.tst index cc9866d..00c33ed 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_6792.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2010 - INRIA -Serge.Steer@inria.fr | 4 | // Copyright (C) 2010 - INRIA -Serge.Steer@inria.fr |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_6988.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_6988.dia.ref index cb0bd10..22ab8be 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_6988.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_6988.dia.ref | |||
@@ -13,7 +13,7 @@ | |||
13 | // <-- Short Description --> | 13 | // <-- Short Description --> |
14 | // Error messages in modules/data_structures/src/c/hmops.c are not standard. | 14 | // Error messages in modules/data_structures/src/c/hmops.c are not standard. |
15 | M = hypermat([2 3 2 2],1:24) | 15 | M = hypermat([2 3 2 2],1:24) |
16 | M = | 16 | M = |
17 | (:,:,1,1) | 17 | (:,:,1,1) |
18 | 1. 3. 5. | 18 | 1. 3. 5. |
19 | 2. 4. 6. | 19 | 2. 4. 6. |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.dia.ref index 514d810..e8f0109 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.dia.ref | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2013 - Scilab Enterprises - Charlotte HECQUET | 4 | // Copyright (C) 2013 - Scilab Enterprises - Charlotte HECQUET |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.tst b/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.tst index e68be59..5b099ae 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.tst +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_8856.tst | |||
@@ -1,3 +1,4 @@ | |||
1 | //<-- CLI SHELL MODE --> | ||
1 | // ============================================================================= | 2 | // ============================================================================= |
2 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab | 3 | // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab |
3 | // Copyright (C) 2013 - Scilab Enterprises - Charlotte HECQUET | 4 | // Copyright (C) 2013 - Scilab Enterprises - Charlotte HECQUET |
diff --git a/scilab/modules/data_structures/tests/nonreg_tests/bug_9218.dia.ref b/scilab/modules/data_structures/tests/nonreg_tests/bug_9218.dia.ref index 77f9554..866ddbf 100644 --- a/scilab/modules/data_structures/tests/nonreg_tests/bug_9218.dia.ref +++ b/scilab/modules/data_structures/tests/nonreg_tests/bug_9218.dia.ref | |||
@@ -11,7 +11,7 @@ | |||
11 | // http://bugzilla.scilab.org/9218 | 11 | // http://bugzilla.scilab.org/9218 |
12 | // | 12 | // |
13 | // <-- Short Description --> | 13 | // <-- Short Description --> |
14 | // a("b") = 10 makes Scilab crash | 14 | // a("b") = 10 makes Scilab crash |
15 | // but a = struct(); a("b") = 10 works. | 15 | // but a = struct(); a("b") = 10 works. |
16 | clear a | 16 | clear a |
17 | a("b") = 10; | 17 | a("b") = 10; |