summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Marechal <pierre.marechal@scilab.org>2007-11-22 14:04:13 +0000
committerPierre Marechal <pierre.marechal@scilab.org>2007-11-22 14:04:13 +0000
commitd5f87fc4e7beaa7458f26a21f1229905fe5db6f2 (patch)
tree3070116f7cc5de5808d8448b05bd786e697ca600 /tests
parent74776885aa919c95b3620968b96c1b992bb498b4 (diff)
downloadscilab-d5f87fc4e7beaa7458f26a21f1229905fe5db6f2.zip
scilab-d5f87fc4e7beaa7458f26a21f1229905fe5db6f2.tar.gz
Add, in comment, bugzilla URL and short desc to each test
Diffstat (limited to 'tests')
-rw-r--r--tests/nonRegression/bug1003.sci48
-rw-r--r--tests/nonRegression/bug1004.sci37
-rw-r--r--tests/nonRegression/bug1014.sci13
-rw-r--r--tests/nonRegression/bug1023.sci23
-rw-r--r--tests/nonRegression/bug1025.sci9
-rw-r--r--tests/nonRegression/bug1057.sci27
-rw-r--r--tests/nonRegression/bug1074.sci10
-rw-r--r--tests/nonRegression/bug1082.sci11
-rw-r--r--tests/nonRegression/bug1084.sci15
-rw-r--r--tests/nonRegression/bug1107.sci9
-rw-r--r--tests/nonRegression/bug1110.sci9
-rw-r--r--tests/nonRegression/bug1123.sci14
-rw-r--r--tests/nonRegression/bug1124.sci9
-rw-r--r--tests/nonRegression/bug1149.sci12
-rw-r--r--tests/nonRegression/bug1180.sci19
-rw-r--r--tests/nonRegression/bug1183.sci9
-rw-r--r--tests/nonRegression/bug1198.sci12
-rw-r--r--tests/nonRegression/bug1200.sci14
-rw-r--r--tests/nonRegression/bug1224.sci13
-rw-r--r--tests/nonRegression/bug1227.sci16
-rw-r--r--tests/nonRegression/bug1239.sci27
-rw-r--r--tests/nonRegression/bug1249.sci29
-rw-r--r--tests/nonRegression/bug1262.sci18
-rw-r--r--tests/nonRegression/bug1321.sci10
-rw-r--r--tests/nonRegression/bug1448.sci15
-rw-r--r--tests/nonRegression/bug1468.sci9
-rw-r--r--tests/nonRegression/bug1469.sci29
-rw-r--r--tests/nonRegression/bug1491.sci14
-rw-r--r--tests/nonRegression/bug1505.sci19
-rw-r--r--tests/nonRegression/bug1506.sci20
-rw-r--r--tests/nonRegression/bug1560.sci14
-rw-r--r--tests/nonRegression/bug1566.sci29
-rw-r--r--tests/nonRegression/bug1568.sci29
-rw-r--r--tests/nonRegression/bug1586.sci29
-rw-r--r--tests/nonRegression/bug1587.sci13
-rw-r--r--tests/nonRegression/bug1590.sci9
-rw-r--r--tests/nonRegression/bug1602.sci14
-rw-r--r--tests/nonRegression/bug1619.sci11
-rw-r--r--tests/nonRegression/bug1620.sci26
-rw-r--r--tests/nonRegression/bug1625.sci20
-rw-r--r--tests/nonRegression/bug1629.sci29
-rw-r--r--tests/nonRegression/bug1636.sci16
-rw-r--r--tests/nonRegression/bug1662.sci13
-rw-r--r--tests/nonRegression/bug1682.sci17
-rw-r--r--tests/nonRegression/bug1684.sci14
-rw-r--r--tests/nonRegression/bug1693.sci29
-rw-r--r--tests/nonRegression/bug1711.sci24
-rw-r--r--tests/nonRegression/bug1712.sci29
-rw-r--r--tests/nonRegression/bug1720.sci17
-rw-r--r--tests/nonRegression/bug1725.sci29
-rw-r--r--tests/nonRegression/bug1732.sci12
-rw-r--r--tests/nonRegression/bug1736.sci14
-rw-r--r--tests/nonRegression/bug1742.sci17
-rw-r--r--tests/nonRegression/bug1768.sci12
-rw-r--r--tests/nonRegression/bug1772.sci10
-rw-r--r--tests/nonRegression/bug1784.sci9
-rw-r--r--tests/nonRegression/bug1786.sci16
-rw-r--r--tests/nonRegression/bug1787.sci12
-rw-r--r--tests/nonRegression/bug1794.sci9
-rw-r--r--tests/nonRegression/bug1802.sci9
-rw-r--r--tests/nonRegression/bug1812.sci9
-rw-r--r--tests/nonRegression/bug1859.sci29
-rw-r--r--tests/nonRegression/bug1867.sci11
-rw-r--r--tests/nonRegression/bug1902.sci9
-rw-r--r--tests/nonRegression/bug1933.sci11
-rw-r--r--tests/nonRegression/bug1955.sci10
-rw-r--r--tests/nonRegression/bug1956.sci18
-rw-r--r--tests/nonRegression/bug1957.sci10
-rw-r--r--tests/nonRegression/bug1971.sci10
-rw-r--r--tests/nonRegression/bug1977.sci17
-rw-r--r--tests/nonRegression/bug1979.sci15
-rw-r--r--tests/nonRegression/bug1991.sci11
-rw-r--r--tests/nonRegression/bug2014.sci29
-rw-r--r--tests/nonRegression/bug2022.sci14
-rw-r--r--tests/nonRegression/bug2038.sci20
-rw-r--r--tests/nonRegression/bug2039.sci29
-rw-r--r--tests/nonRegression/bug2045.sci10
-rw-r--r--tests/nonRegression/bug205.sci25
-rw-r--r--tests/nonRegression/bug2052.sci10
-rw-r--r--tests/nonRegression/bug2067.sci14
-rw-r--r--tests/nonRegression/bug2092.sci9
-rw-r--r--tests/nonRegression/bug2093.sci10
-rw-r--r--tests/nonRegression/bug2098.sci20
-rw-r--r--tests/nonRegression/bug2137.sci24
-rw-r--r--tests/nonRegression/bug2149.sci26
-rw-r--r--tests/nonRegression/bug2162.sci9
-rw-r--r--tests/nonRegression/bug2181.sci12
-rw-r--r--tests/nonRegression/bug2263.sci24
-rw-r--r--tests/nonRegression/bug2264.sci9
-rw-r--r--tests/nonRegression/bug2268.sci10
-rw-r--r--tests/nonRegression/bug2270.sci12
-rw-r--r--tests/nonRegression/bug2277.sci15
-rw-r--r--tests/nonRegression/bug2284.sci17
-rw-r--r--tests/nonRegression/bug2322.sci10
-rw-r--r--tests/nonRegression/bug2330.sci11
-rw-r--r--tests/nonRegression/bug2333.sci12
-rw-r--r--tests/nonRegression/bug2341.sci9
-rw-r--r--tests/nonRegression/bug2344.sci19
-rw-r--r--tests/nonRegression/bug2362.sci15
-rw-r--r--tests/nonRegression/bug2396.sci14
-rw-r--r--tests/nonRegression/bug2399.sci10
-rw-r--r--tests/nonRegression/bug2407.sci22
-rw-r--r--tests/nonRegression/bug2410.sci9
-rw-r--r--tests/nonRegression/bug2414.sci10
-rw-r--r--tests/nonRegression/bug2420.sci9
-rw-r--r--tests/nonRegression/bug2421.sci10
-rw-r--r--tests/nonRegression/bug2428.sci14
-rw-r--r--tests/nonRegression/bug2429.sci9
-rw-r--r--tests/nonRegression/bug2430.sci15
-rw-r--r--tests/nonRegression/bug2435.sci9
-rw-r--r--tests/nonRegression/bug2453.sci10
-rw-r--r--tests/nonRegression/bug2467.sci10
-rw-r--r--tests/nonRegression/bug2616.sci10
-rw-r--r--tests/nonRegression/bug461.sci29
-rw-r--r--tests/nonRegression/bug464.sci21
-rw-r--r--tests/nonRegression/bug467.sci29
-rw-r--r--tests/nonRegression/bug470.sci20
-rw-r--r--tests/nonRegression/bug474.sci29
-rw-r--r--tests/nonRegression/bug475.sci27
-rw-r--r--tests/nonRegression/bug476.sci29
-rw-r--r--tests/nonRegression/bug477.sci29
-rw-r--r--tests/nonRegression/bug480.sci25
-rw-r--r--tests/nonRegression/bug487.sci29
-rw-r--r--tests/nonRegression/bug488.sci29
-rw-r--r--tests/nonRegression/bug498.sci29
-rw-r--r--tests/nonRegression/bug502.sci29
-rw-r--r--tests/nonRegression/bug525.sci29
-rw-r--r--tests/nonRegression/bug528.sci29
-rw-r--r--tests/nonRegression/bug534.sci29
-rw-r--r--tests/nonRegression/bug539.sci29
-rw-r--r--tests/nonRegression/bug542.sci19
-rw-r--r--tests/nonRegression/bug545.sci28
-rw-r--r--tests/nonRegression/bug546.sci29
-rw-r--r--tests/nonRegression/bug548.sci29
-rw-r--r--tests/nonRegression/bug549.sci21
-rw-r--r--tests/nonRegression/bug55.sci11
-rw-r--r--tests/nonRegression/bug553.sci29
-rw-r--r--tests/nonRegression/bug557.sci17
-rw-r--r--tests/nonRegression/bug558.sci14
-rw-r--r--tests/nonRegression/bug562.sci20
-rw-r--r--tests/nonRegression/bug564.sci29
-rw-r--r--tests/nonRegression/bug566.sci9
-rw-r--r--tests/nonRegression/bug567.sci13
-rw-r--r--tests/nonRegression/bug568.sci17
-rw-r--r--tests/nonRegression/bug569.sci10
-rw-r--r--tests/nonRegression/bug570.sci10
-rw-r--r--tests/nonRegression/bug573.sci23
-rw-r--r--tests/nonRegression/bug575.sci16
-rw-r--r--tests/nonRegression/bug576.sci11
-rw-r--r--tests/nonRegression/bug577.sci12
-rw-r--r--tests/nonRegression/bug584.sci13
-rw-r--r--tests/nonRegression/bug600.sci14
-rw-r--r--tests/nonRegression/bug604.sci29
-rw-r--r--tests/nonRegression/bug608.sci18
-rw-r--r--tests/nonRegression/bug610.sci12
-rw-r--r--tests/nonRegression/bug612.sci13
-rw-r--r--tests/nonRegression/bug614.sci14
-rw-r--r--tests/nonRegression/bug623.sci10
-rw-r--r--tests/nonRegression/bug625.sci11
-rw-r--r--tests/nonRegression/bug629.sci13
-rw-r--r--tests/nonRegression/bug631.sci23
-rw-r--r--tests/nonRegression/bug632.sci26
-rw-r--r--tests/nonRegression/bug649.sci11
-rw-r--r--tests/nonRegression/bug654.sci14
-rw-r--r--tests/nonRegression/bug656.sci15
-rw-r--r--tests/nonRegression/bug657.sci12
-rw-r--r--tests/nonRegression/bug661.sci12
-rw-r--r--tests/nonRegression/bug670.sci11
-rw-r--r--tests/nonRegression/bug681.sci9
-rw-r--r--tests/nonRegression/bug682.sci9
-rw-r--r--tests/nonRegression/bug683.sci11
-rw-r--r--tests/nonRegression/bug699.sci18
-rw-r--r--tests/nonRegression/bug71.sci10
-rw-r--r--tests/nonRegression/bug731.sci10
-rw-r--r--tests/nonRegression/bug743.sci13
-rw-r--r--tests/nonRegression/bug750.sci13
-rw-r--r--tests/nonRegression/bug768.sci12
-rw-r--r--tests/nonRegression/bug790.sci10
-rw-r--r--tests/nonRegression/bug793.sci9
-rw-r--r--tests/nonRegression/bug797.sci29
-rw-r--r--tests/nonRegression/bug799.sci10
-rw-r--r--tests/nonRegression/bug800.sci12
-rw-r--r--tests/nonRegression/bug801.sci9
-rw-r--r--tests/nonRegression/bug853.sci29
-rw-r--r--tests/nonRegression/bug857.sci22
-rw-r--r--tests/nonRegression/bug859.sci10
-rw-r--r--tests/nonRegression/bug862.sci19
-rw-r--r--tests/nonRegression/bug871.sci28
-rw-r--r--tests/nonRegression/bug883.sci9
-rw-r--r--tests/nonRegression/bug924.sci18
-rw-r--r--tests/nonRegression/bug925.sci25
-rw-r--r--tests/nonRegression/bug942.sci15
-rw-r--r--tests/nonRegression/bug943.sci29
-rw-r--r--tests/nonRegression/bug945.sci13
-rw-r--r--tests/nonRegression/bug946.sci10
-rw-r--r--tests/nonRegression/bug950.sci10
-rw-r--r--tests/nonRegression/bug967.sci12
-rw-r--r--tests/nonRegression/bug973.sci10
-rw-r--r--tests/nonRegression/bug979.sci10
199 files changed, 3268 insertions, 88 deletions
diff --git a/tests/nonRegression/bug1003.sci b/tests/nonRegression/bug1003.sci
deleted file mode 100644
index 4d141df..0000000
--- a/tests/nonRegression/bug1003.sci
+++ /dev/null
@@ -1,48 +0,0 @@
1// Non-regression test file for bug 1003
2// Copyright INRIA
3// Scilab Project - V. Couvert
4
5// Modified by Pierre MARECHAL
6// Copyright INRIA
7// Date : 18 Mar 2005
8
9mode(-1);
10clear;
11
12MFILECONTENTS=["fp = fopen(''testfile.txt'',''r'');";
13 "tempstr = '' '';";
14 "while ( tempstr ~= -1)";
15 " tempstr = fgets(fp); % -1 if eof ";
16 " disp(tempstr);";
17 "end";
18 "fclose(fp);"]
19
20MFILE=TMPDIR+"/bug1003.m"
21SCIFILE=TMPDIR+"/bug1003.sci"
22
23mputl(MFILECONTENTS,MFILE);
24mfile2sci(MFILE,TMPDIR);
25SCIFILECONTENTS=mgetl(SCIFILE);
26
27SCIFILECONTENTSREF=["";
28 "// Display mode";
29 "mode(0);";
30 "";
31 "// Display warning for floating point exception";
32 "ieee(1);";
33 "";
34 "fp = mtlb_fopen(""testfile.txt"",""r"");";
35 "tempstr = "" "";";
36 "while asciimat(tempstr)~=(-1)";
37 " tempstr = mgetl(fp,1); // -1 if eof ";
38 " disp(tempstr);";
39 "end;";
40 "mclose(fp);"]
41
42if or(SCIFILECONTENTSREF<>SCIFILECONTENTS) then
43 affich_result(%F,1003);
44else
45 affich_result(%T,1003);
46end
47
48clear
diff --git a/tests/nonRegression/bug1004.sci b/tests/nonRegression/bug1004.sci
deleted file mode 100644
index 46d3a6f..0000000
--- a/tests/nonRegression/bug1004.sci
+++ /dev/null
@@ -1,37 +0,0 @@
1// Non-regression test file for bug 1004
2// Copyright INRIA
3// Scilab Project - V. Couvert
4
5// Modified by Pierre MARECHAL
6// Copyright INRIA
7// Date : 18 Mar 2005
8
9mode(-1);
10clear;
11
12MFILECONTENTS=["for i=1:5";"end"]
13
14MFILE=TMPDIR+"/bug1004.m"
15SCIFILE=TMPDIR+"/bug1004.sci"
16
17mputl(MFILECONTENTS,MFILE);
18mfile2sci(MFILE,TMPDIR);
19SCIFILECONTENTS=mgetl(SCIFILE);
20
21SCIFILECONTENTSREF=["";
22 "// Display mode";
23 "mode(0);";
24 "";
25 "// Display warning for floating point exception";
26 "ieee(1);";
27 "";
28 "for i = 1:5";
29 "end;"]
30
31if or(SCIFILECONTENTSREF<>SCIFILECONTENTS) then
32 affich_result(%F,1004);
33else
34 affich_result(%T,1004);
35end
36
37clear
diff --git a/tests/nonRegression/bug1014.sci b/tests/nonRegression/bug1014.sci
index 4084a8e..2c81a0b 100644
--- a/tests/nonRegression/bug1014.sci
+++ b/tests/nonRegression/bug1014.sci
@@ -1,3 +1,16 @@
1// <-- Non-regression test for bug 1014 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1014
5//
6// <-- Short Description -->
7// Nan bug (Windows)
8// b=%nan;
9// a=1/b
10//
11// produces a "Division by zero" error
12
13
1// bug1014 14// bug1014
2// Allan CORNET 15// Allan CORNET
3clear 16clear
diff --git a/tests/nonRegression/bug1023.sci b/tests/nonRegression/bug1023.sci
index 230e57e..d45ec1e 100644
--- a/tests/nonRegression/bug1023.sci
+++ b/tests/nonRegression/bug1023.sci
@@ -1,3 +1,26 @@
1// <-- Non-regression test for bug 1023 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1023
5//
6// <-- Short Description -->
7// mfscanf cores dump scilab.
8//
9// I have a file named links.txt, its size is 350k. When I
10// try to run the below code, line 5 kills scilab with the
11// error "error in fscanf : cannot allocate more memory". But
12// the command "free" tells me I have 182Mb free memory.
13//
14// =================================================
15// filename = "/home/fsilva/kazus.ebooks/links.txt"
16// inputfile = mopen(filename,"r")
17//
18// [n,a] = mfscanf(-1,inputfile,"%s");
19// [m,b] = mfscanf(-1,inputfile,"%s"); //line 5
20//
21// mclose(inputfile);
22
23
1// Non-regression test file for bug 1023 24// Non-regression test file for bug 1023
2// Copyright INRIA 25// Copyright INRIA
3// Scilab Project - Serge Steer 26// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1025.sci b/tests/nonRegression/bug1025.sci
index 8ac9142..bde2707 100644
--- a/tests/nonRegression/bug1025.sci
+++ b/tests/nonRegression/bug1025.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1025 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1025
5//
6// <-- Short Description -->
7// winsid ne marche pas.
8
9
1// Non-regression test file for bug 1025 10// Non-regression test file for bug 1025
2// Pierre MARECHAL - Scilab Project 11// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 12// Copyright INRIA
diff --git a/tests/nonRegression/bug1057.sci b/tests/nonRegression/bug1057.sci
index 2832efa..310c10a 100644
--- a/tests/nonRegression/bug1057.sci
+++ b/tests/nonRegression/bug1057.sci
@@ -1,3 +1,30 @@
1// <-- Non-regression test for bug 1057 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1057
5//
6// <-- Short Description -->
7// Crash when entering the following in the command window:
8//
9// 1.7977E+308
10//
11// Actually, every number greater than 1.797E+308 crashes
12// scilab (scilab3.0 under linux gives the correct answer Inf).
13//
14// A popup window appears with the following message:
15//
16// forrtl: severe(64): input conversion error, unit -5, file
17// Internal List Directed Read
18// Image [...]
19// LibScilab.dll [...]
20// [...]
21//
22// [...] is text I don't think is important.
23//
24// Basically overflow is translated in crashes where it should
25// be Inf.
26
27
1// Non-regression test file for bug 1057 28// Non-regression test file for bug 1057
2// Pierre MARECHAL - Scilab Project 29// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 30// Copyright INRIA
diff --git a/tests/nonRegression/bug1074.sci b/tests/nonRegression/bug1074.sci
index 0d73fdf..9c8e3a0 100644
--- a/tests/nonRegression/bug1074.sci
+++ b/tests/nonRegression/bug1074.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 1074 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1074
5//
6// <-- Short Description -->
7// fun2string() converts anomalously function calls with more
8// than 1 return argument, and does not retain the function name
9
10
1// Non-regression test file for bug 1057 11// Non-regression test file for bug 1057
2// Pierre MARECHAL - Scilab Project 12// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 13// Copyright INRIA
diff --git a/tests/nonRegression/bug1082.sci b/tests/nonRegression/bug1082.sci
index 91aa972..700dd00 100644
--- a/tests/nonRegression/bug1082.sci
+++ b/tests/nonRegression/bug1082.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 1082 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1082
5//
6// <-- Short Description -->
7// Error during conversion of a very simple file. Though the
8// syntax is the same in both languages, the converter fails to
9// convert the rounding of the field of a structure: "round(a.b)"
10
11
1// Non-regression test file for bug 1082 12// Non-regression test file for bug 1082
2// Copyright INRIA 13// Copyright INRIA
3// Scilab Project - F.Belahcene 14// Scilab Project - F.Belahcene
diff --git a/tests/nonRegression/bug1084.sci b/tests/nonRegression/bug1084.sci
index a06706a..559375a 100644
--- a/tests/nonRegression/bug1084.sci
+++ b/tests/nonRegression/bug1084.sci
@@ -1,3 +1,18 @@
1// <-- Non-regression test for bug 1084 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1084
5//
6// <-- Short Description -->
7// Problem with resetting seed for rand 'normal'
8// distribution. As you can see from the attached code, I'm
9// resetting the seed and generating a rand 'normal'
10// distribution, however I only get the same results every
11// other time. This should produce the same results every
12// time. Note that the 'uniform' distribution does generate
13// the same results every time.
14
15
1// Non-regression test file for bug 1084 16// Non-regression test file for bug 1084
2// Pierre MARECHAL - Scilab Project 17// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 18// Copyright INRIA
diff --git a/tests/nonRegression/bug1107.sci b/tests/nonRegression/bug1107.sci
index bcd0999..a1b3593 100644
--- a/tests/nonRegression/bug1107.sci
+++ b/tests/nonRegression/bug1107.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1107 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1107
5//
6// <-- Short Description -->
7// wrong use of = not detected in if conditions
8
9
1// bug1107 10// bug1107
2//the bug was due to a misinterpretation of syntax like (x=2) in 11//the bug was due to a misinterpretation of syntax like (x=2) in
3//factor. It was treated as a named argument of a function instead of a 12//factor. It was treated as a named argument of a function instead of a
diff --git a/tests/nonRegression/bug1110.sci b/tests/nonRegression/bug1110.sci
index 7a4c337..6af1ef8 100644
--- a/tests/nonRegression/bug1110.sci
+++ b/tests/nonRegression/bug1110.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1110 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1110
5//
6// <-- Short Description -->
7// parser or evaluator error
8
9
1// bug1110 10// bug1110
2mode (-1) 11mode (-1)
3clear 12clear
diff --git a/tests/nonRegression/bug1123.sci b/tests/nonRegression/bug1123.sci
index 8045ba9..2217ae0d 100644
--- a/tests/nonRegression/bug1123.sci
+++ b/tests/nonRegression/bug1123.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1123 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1123
5//
6// <-- Short Description -->
7// I think this bug is related to other ones but the matlab
8// construction :
9//
10// if(mod(N,2))N=N-1;t=t(1:N);xs=xs(1:N);xp=xp(1:N); x=x(1:N);end
11//
12// leads to a error 43 the m2sci script
13
14
1// Non-regression test file for bug 1123 15// Non-regression test file for bug 1123
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - F. Belahcene 17// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1124.sci b/tests/nonRegression/bug1124.sci
index 457cfec..5545c82 100644
--- a/tests/nonRegression/bug1124.sci
+++ b/tests/nonRegression/bug1124.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1124 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1124
5//
6// <-- Short Description -->
7// incapacity to use a function name as an identifier
8
9
1// Non-regression test file for bug 1124 10// Non-regression test file for bug 1124
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - F. Belahcene 12// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1149.sci b/tests/nonRegression/bug1149.sci
index 7ac995c..90a8530 100644
--- a/tests/nonRegression/bug1149.sci
+++ b/tests/nonRegression/bug1149.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 1149 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1149
5//
6// <-- Short Description -->
7// m2sci doesn't cope with constructs like a=[1,2,3,] or
8// a=[,1,2,3,] (superfluous leading/trailing comma), which
9// matlab lives well with. Awful matlab quirk, I agree, but
10// some automatic m-file generator does it carelessly.
11
12
1 // Non-regression test file for bug 1149 13 // Non-regression test file for bug 1149
2// Copyright INRIA 14// Copyright INRIA
3// Scilab Project - F.Belahcene 15// Scilab Project - F.Belahcene
diff --git a/tests/nonRegression/bug1180.sci b/tests/nonRegression/bug1180.sci
index eb39c89..e1507d9 100644
--- a/tests/nonRegression/bug1180.sci
+++ b/tests/nonRegression/bug1180.sci
@@ -1,3 +1,22 @@
1// <-- Non-regression test for bug 1180 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1180
5//
6// <-- Short Description -->
7// mtlb_filter lines
8//
9// b=b*z^(max(degree(a)-degree(b),0))
10// a=a*z^(max(degree(b)-degree(a),0))
11//
12// should be replaced by :
13//
14// da = degree(a)
15// db = degree(b)
16// if (da-db) > 0 then b=b*z^(da-db); end
17// if (db-da) > 0 then a=a*z^(db-da); end
18
19
1// Non-regression test file for bug 1180 20// Non-regression test file for bug 1180
2// Pierre MARECHAL - Scilab Project 21// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 22// Copyright INRIA
diff --git a/tests/nonRegression/bug1183.sci b/tests/nonRegression/bug1183.sci
index b366685..9060cec 100644
--- a/tests/nonRegression/bug1183.sci
+++ b/tests/nonRegression/bug1183.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1183 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1183
5//
6// <-- Short Description -->
7// @?
8
9
1// Non-regression test file for bug 1183 10// Non-regression test file for bug 1183
2// Pierre MARECHAL - Scilab Project 11// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 12// Copyright INRIA
diff --git a/tests/nonRegression/bug1198.sci b/tests/nonRegression/bug1198.sci
index c77b999..e731874 100644
--- a/tests/nonRegression/bug1198.sci
+++ b/tests/nonRegression/bug1198.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 1198 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1198
5//
6// <-- Short Description -->
7// For the latest version of Scilab scilab-3.0-u-20050128 on a
8// Windows 2000 platform.
9//
10// The program crashes instead of reporting a sytax error.
11
12
1// Non-regression test file for bug 1198 13// Non-regression test file for bug 1198
2// Pierre MARECHAL - Scilab Project 14// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 15// Copyright INRIA
diff --git a/tests/nonRegression/bug1200.sci b/tests/nonRegression/bug1200.sci
index 00ff692..c776748 100644
--- a/tests/nonRegression/bug1200.sci
+++ b/tests/nonRegression/bug1200.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1200 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1200
5//
6// <-- Short Description -->
7// Incoherence dans le format d'un nombre.
8// En prenant par exemple j=0.001, on obtient un affichage
9// incoherent avec format :
10// format("v",6) => 0.001
11// format("v",7) => 1.E-3
12// format("v",8) => 0.001
13
14
1// Non-regression test file for bug 1200 15// Non-regression test file for bug 1200
2// Pierre MARECHAL - Scilab Project 16// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 17// Copyright INRIA
diff --git a/tests/nonRegression/bug1224.sci b/tests/nonRegression/bug1224.sci
index 4605ce8..322c4b3 100644
--- a/tests/nonRegression/bug1224.sci
+++ b/tests/nonRegression/bug1224.sci
@@ -1,3 +1,16 @@
1// <-- Non-regression test for bug 1224 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1224
5//
6// <-- Short Description -->
7// Product of 2x2 matrices produces wrong result.
8// inf=%inf;
9// A=diag([-inf,inf]);
10// A*A //This is correct
11// A*A*A //This is wrong
12
13
1// Non-regression test file for bug 1224 14// Non-regression test file for bug 1224
2// Pierre MARECHAL - Scilab Project 15// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 16// Copyright INRIA
diff --git a/tests/nonRegression/bug1227.sci b/tests/nonRegression/bug1227.sci
index ea5c325..f711fe0 100644
--- a/tests/nonRegression/bug1227.sci
+++ b/tests/nonRegression/bug1227.sci
@@ -1,3 +1,19 @@
1// <-- Non-regression test for bug 1227 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1227
5//
6// <-- Short Description -->
7// -->a=1;savematfile('file','a')
8// WARNING:Option -v6 added
9// !--error 246
10// function not defined for given argument type(s)
11// Check arguments or define function %s_strindex
12// for overloading
13// at line 287 of function savematfile called by :
14// savematfile('totoo','a')
15
16
1//*********************************************************************************************************************** 17//***********************************************************************************************************************
2// File : bug 1227 18// File : bug 1227
3// Author : Pierre MARECHAL 19// Author : Pierre MARECHAL
diff --git a/tests/nonRegression/bug1239.sci b/tests/nonRegression/bug1239.sci
index 0de8ad5..27f3211 100644
--- a/tests/nonRegression/bug1239.sci
+++ b/tests/nonRegression/bug1239.sci
@@ -1,3 +1,30 @@
1// <-- Non-regression test for bug 1239 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1239
5//
6// <-- Short Description -->
7// This bug was found by Marek. He says us in the newsgroup:
8//
9// It seems that nanmax, nanmin functions are not working well,
10// or at
11// least not according to documentation(they should supposedly
12// ignore %nan
13// values). I get the wollowing results in scilab 3.0:
14//
15// -->nanmax([%nan, -1])
16// ans = Inf
17//
18// -->nanmax([%nan, 1])
19// ans = Inf
20// The same for nanmin.
21// ========================================================
22//
23// Btw, on a scilab cvs I don't see any problem with nanmin.
24//
25// Bruno
26
27
1// Non-regression test file for bug 1239 28// Non-regression test file for bug 1239
2// Author : Scilab Project - Pierre MARECHAL 29// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 30// Copyright INRIA
diff --git a/tests/nonRegression/bug1249.sci b/tests/nonRegression/bug1249.sci
index 10e8f69..ce57a85 100644
--- a/tests/nonRegression/bug1249.sci
+++ b/tests/nonRegression/bug1249.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1249 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1249
5//
6// <-- Short Description -->
7// When using the command
8// -->calendar()
9// ans =
10//
11//
12// ans(1)
13//
14// Mar 2005
15//
16// ans(2)
17//
18// S M Tu W Th F S
19//
20// ans(3)
21//
22// ! 0. 1. 2. 3. 4. 5. 6. !
23// ! 7. 8. 9. 10. 11. 12. 13. !
24// ! 14. 15. 16. 17. 18. 19. 20. !
25// ! 21. 22. 23. 24. 25. 26. 27. !
26// ! 28. 29. 30. 31. 0. 0. 0. !
27// ...
28
29
1// Non-regression test file for bug 1249 30// Non-regression test file for bug 1249
2// Author : Scilab Project - Pierre MARECHAL 31// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 32// Copyright INRIA
diff --git a/tests/nonRegression/bug1262.sci b/tests/nonRegression/bug1262.sci
index 2e690bd..39face3 100644
--- a/tests/nonRegression/bug1262.sci
+++ b/tests/nonRegression/bug1262.sci
@@ -1,3 +1,21 @@
1// <-- Non-regression test for bug 1262 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1262
5//
6// <-- Short Description -->
7// Four errors of mfile2sci are reported
8// (scilab-3.0-u-20050309) Linux+Windows+Solaris.
9//
10// Briefly:
11// 1) end; end -> endend
12// 2) Initialization to empty matrix at wrong place
13// 3) Problem with useless [ or ]
14// 4) -(A-B) -> -A-B
15//
16// Apply mfile2sci to the Matlab script given below.
17
18
1// Non-regression test file for bug 1262 19// Non-regression test file for bug 1262
2// Copyright INRIA 20// Copyright INRIA
3// Scilab Project - F.Belahcene 21// Scilab Project - F.Belahcene
diff --git a/tests/nonRegression/bug1321.sci b/tests/nonRegression/bug1321.sci
index 5175c28..5033954 100644
--- a/tests/nonRegression/bug1321.sci
+++ b/tests/nonRegression/bug1321.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 1321 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1321
5//
6// <-- Short Description -->
7// Function findobj does not work when property value contains
8// capital letters and is case sensitive for property name.
9
10
1// Non-regression test file for bug 1321 11// Non-regression test file for bug 1321
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - V. Couvert 13// Scilab Project - V. Couvert
diff --git a/tests/nonRegression/bug1448.sci b/tests/nonRegression/bug1448.sci
index 0147cfc..11a71a0 100644
--- a/tests/nonRegression/bug1448.sci
+++ b/tests/nonRegression/bug1448.sci
@@ -1,3 +1,18 @@
1// <-- Non-regression test for bug 1448 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1448
5//
6// <-- Short Description -->
7// Bug detected in 3.1.1 under Windows XP.
8// Bug relative to function rotate
9//
10// A positive angle corresponds to a clockwise rotation, then in the
11// negative mathematical way.
12//
13// Jacques-Deric
14
15
1// Non-regression test file for bug 1448 16// Non-regression test file for bug 1448
2// Copyright INRIA 17// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 18// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1468.sci b/tests/nonRegression/bug1468.sci
index c42a66e..e75e7d3 100644
--- a/tests/nonRegression/bug1468.sci
+++ b/tests/nonRegression/bug1468.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1468 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1468
5//
6// <-- Short Description -->
7// 1) 'macr2tree' function doesn't work correctly with the following script
8
9
1 // Non-regression test file for bug 1468 10 // Non-regression test file for bug 1468
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - F. Belahcene 12// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1469.sci b/tests/nonRegression/bug1469.sci
index 068188a..7bb15ac 100644
--- a/tests/nonRegression/bug1469.sci
+++ b/tests/nonRegression/bug1469.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1469 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1469
5//
6// <-- Short Description -->
7// Comments modify line numbering in functions
8//
9// What you don't believe?
10//
11// Try this:
12//
13// 1st test, no comment in line 1:
14//
15// -->function foo1()
16// --> function foo3
17// --> endfunction
18// --> disp("line a");
19// --> disp("line b");
20// --> disp("line c");
21// -->endfunction
22//
23// -->setbpt("foo1",[3,4])
24//
25// -->foo1()
26// Stop after row 3 in function foo1 :
27// ...
28
29
1// Non-regression test file for bug 1469 30// Non-regression test file for bug 1469
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Serge Steer 32// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1491.sci b/tests/nonRegression/bug1491.sci
index 59e7fed..487aa6f 100644
--- a/tests/nonRegression/bug1491.sci
+++ b/tests/nonRegression/bug1491.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1491 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1491
5//
6// <-- Short Description -->
7// Bug detected in 3.1.1 under Windows XP.
8// Bug relative to handle Rectangle
9//
10// The default value Axes.clip_box is not inherited in Rectangle.clip_box
11//
12// Jacques-Deric
13
14
1// Non-regression test file for bug 1491 15// Non-regression test file for bug 1491
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 17// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1505.sci b/tests/nonRegression/bug1505.sci
index 83c7101..88f66c1 100644
--- a/tests/nonRegression/bug1505.sci
+++ b/tests/nonRegression/bug1505.sci
@@ -1,3 +1,22 @@
1// <-- Non-regression test for bug 1505 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1505
5//
6// <-- Short Description -->
7// datenum does not handle years correctly:
8// example:
9// datenum(1971,1,1) - datenum(1970,1,1)
10// returns 0 on my RedHat Linux x86.
11//
12// However
13// datenum(1971,3,1) - datenum(1970,3,1)
14// gives the expected result : 365.2425
15// (The bug only occur for month = 1 and 2)
16//
17// Fabian
18
19
1// Non-regression test file for bug 1505 20// Non-regression test file for bug 1505
2// Copyright INRIA 21// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 22// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1506.sci b/tests/nonRegression/bug1506.sci
index 8d7f63c..a47fcdb 100644
--- a/tests/nonRegression/bug1506.sci
+++ b/tests/nonRegression/bug1506.sci
@@ -1,3 +1,23 @@
1// <-- Non-regression test for bug 1506 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1506
5//
6// <-- Short Description -->
7// datevec(datenum()) gives wrong result.
8//
9// datevec(datenum()) is supposed to give the actual time, right?
10// On my box (Redhat Linux x86) it now gives
11// ! 2005. 7. 27. 15. 10. 50.249993 !
12//
13// where the date on a unix shell gives:
14// Wed Jul 27 12:02:16 CEST 2005
15//
16// So the date is correct but not the time
17//
18// Fabian
19
20
1// Non-regression test file for bug 1506 21// Non-regression test file for bug 1506
2// Copyright INRIA 22// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 23// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1560.sci b/tests/nonRegression/bug1560.sci
index f1dd7a6..f5ac755 100644
--- a/tests/nonRegression/bug1560.sci
+++ b/tests/nonRegression/bug1560.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1560 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1560
5//
6// <-- Short Description -->
7// (Following of bug 1558)
8// In a 3D representation, under the rotation angles [0,270], the third
9// coordinate z1 of the first point of a segment is ignored, while the
10// third coordinate z2 of the second point is considered.
11//
12// Jacques-Deric
13
14
1// Non-regression test file for bug 1560 15// Non-regression test file for bug 1560
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 17// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1566.sci b/tests/nonRegression/bug1566.sci
index 60d3d6d..351daf4 100644
--- a/tests/nonRegression/bug1566.sci
+++ b/tests/nonRegression/bug1566.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1566 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1566
5//
6// <-- Short Description -->
7// TCL_SetVar eats imaginary part
8//
9// I know, the man page for TCL_SetVar states that when used with numbers
10// those numbers must be real. However, the following does not throw an
11// error:
12//
13// -->TCL_SetVar("A",1+%i)
14// ans =
15//
16// T
17//
18// I think it should either spit an error, or fully support complex
19// numbers.
20//
21// -->TCL_GetVar("A")
22// ans =
23//
24// 1.0000000000
25//
26// Imaginary part disappeared! This is true for single complex numbers or
27// ...
28
29
1// Non-regression test file for bug 1566 30// Non-regression test file for bug 1566
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 32// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1568.sci b/tests/nonRegression/bug1568.sci
index 98793bb..362faa0 100644
--- a/tests/nonRegression/bug1568.sci
+++ b/tests/nonRegression/bug1568.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1568 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1568
5//
6// <-- Short Description -->
7// The random number generator grand() does not always produce the same
8// result starting from the same seed, as shown by the following
9// transcript of a Scilab session:
10//
11// $ scilab -nw
12// -------------------------------------------
13// scilab-3.1.1
14//
15// Copyright (c) 1989-2005
16// Consortium Scilab (INRIA, ENPC)
17// -------------------------------------------
18//
19//
20// Startup execution:
21// loading initial environment
22//
23// -->grand('setsd',12)
24//
25// -->grand(1,'prm',[1:5]')
26// ans =
27// ...
28
29
1// Non-regression test file for bug 1568 30// Non-regression test file for bug 1568
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 32// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1586.sci b/tests/nonRegression/bug1586.sci
index 3b63bd1..19f2380 100644
--- a/tests/nonRegression/bug1586.sci
+++ b/tests/nonRegression/bug1586.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1586 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1586
5//
6// <-- Short Description -->
7// I have found a possible error in Scilab:
8// when I use the function 'mkdir'.
9// For example:
10//
11// [status,msg]=mkdir('new_1')
12// msg =
13//
14// status =
15// 1.
16//
17// (the result is OK.), but when I use it again (note that the
18// directory "new_1" already exists), then I obtain:
19//
20// [status,msg]=mkdir('new_1')
21//
22// msg=
23// Error : Directory or file D:\progs\scilab-3.1.1\contrib\lrp\example\
24// new_1 already exists.
25// status =
26// 0.
27// ...
28
29
1// Non-regression test file for bug 1586 30// Non-regression test file for bug 1586
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 32// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1587.sci b/tests/nonRegression/bug1587.sci
index 14cfd18..598ed51 100644
--- a/tests/nonRegression/bug1587.sci
+++ b/tests/nonRegression/bug1587.sci
@@ -1,3 +1,16 @@
1// <-- Non-regression test for bug 1587 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1587
5//
6// <-- Short Description -->
7// Changing the colormap with the graphic editor of a not selected figure do not
8// modify the colormap as expected. The colormap of the figure which should be
9// modified is not the entered one. The selected figure colormap is also changed
10// with the entered colormap. Moreover, Scilab often crash some time after this bug
11// occures.
12
13
1// Non-regression test file for bug 1586 14// Non-regression test file for bug 1586
2// Copyright INRIA 15// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 16// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1590.sci b/tests/nonRegression/bug1590.sci
index 03f1f40..ecacdca 100644
--- a/tests/nonRegression/bug1590.sci
+++ b/tests/nonRegression/bug1590.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1590 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1590
5//
6// <-- Short Description -->
7// clipboard function crashes scilab when called from a script
8
9
1if MSDOS then 10if MSDOS then
2 if ( ~or(sciargs()==['-nw']) & ~or(sciargs()==['-nwni']) ) then 11 if ( ~or(sciargs()==['-nw']) & ~or(sciargs()==['-nwni']) ) then
3 a="put in clipboard"; 12 a="put in clipboard";
diff --git a/tests/nonRegression/bug1602.sci b/tests/nonRegression/bug1602.sci
index bd4483e..257b394 100644
--- a/tests/nonRegression/bug1602.sci
+++ b/tests/nonRegression/bug1602.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1602 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1602
5//
6// <-- Short Description -->
7// contour2d don't work well with frameflag=4 (while the workaround
8// which consists of providing frameflag=3 + rect=[xmin,ymin,xmax,ymax]
9// works). This is with a cvs version of yesterday. See an example
10// in steps to ...
11//
12// Bruno
13
14
1// Non-regression test file for bug 1602 15// Non-regression test file for bug 1602
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 17// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1619.sci b/tests/nonRegression/bug1619.sci
index cd86e6b..3ecc73f 100644
--- a/tests/nonRegression/bug1619.sci
+++ b/tests/nonRegression/bug1619.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 1619 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1619
5//
6// <-- Short Description -->
7// macr2tree doesn't like functions compiled for profiling. It hates them
8// so much,
9// that causes spectacular crashes of scilab.
10
11
1// Non-regression test file for bug 1619 12// Non-regression test file for bug 1619
2// Copyright INRIA 13// Copyright INRIA
3// Scilab Project - Serge Steer 14// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1620.sci b/tests/nonRegression/bug1620.sci
index 46e63f3..339da8b 100644
--- a/tests/nonRegression/bug1620.sci
+++ b/tests/nonRegression/bug1620.sci
@@ -1,3 +1,29 @@
1// <-- Non-regression test for bug 1620 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1620
5//
6// <-- Short Description -->
7// Lorsque j'essaie de lire une matrice de taille 500x148, soit:
8// -le programme me charge la matrice mais en decalant les elements (le
9// premier de la deuxième ligne devient le dernier de la premiere) et en
10// donnant la taille 500x149 -> il ne remonte aucun probleme, ce qui est
11// pervers!
12// - soit scilab me dit que la fonction fscanfMat ne dispose pas de
13// memoire suffisante pour lire la matrice
14// - soit scilab plante avec le message décrit ci-dessous.
15//
16// Lorsque je charge une matrice beaucoup plus grosse en nombre
17// d'éléments
18// (mais avec moins de colones), je n'ai aucun problème. Il ne s'agit
19// donc pas vraiment d'un problème de taille mémoire.
20// J'ai essayé d'augmenter la taille de la pile avec la commande
21// gstacksize
22// (n), mais cela n'a pas eu d'effet. Qu'en pensez vous?
23// La commande clear nettoie-t-elle efficacement la mémoire?
24// Merci de votre aide.
25
26
1// Non-regression test file for bug 1620 27// Non-regression test file for bug 1620
2// Copyright INRIA 28// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 29// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1625.sci b/tests/nonRegression/bug1625.sci
index b05ad40..89dffcd 100644
--- a/tests/nonRegression/bug1625.sci
+++ b/tests/nonRegression/bug1625.sci
@@ -1,3 +1,23 @@
1// <-- Non-regression test for bug 1625 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1625
5//
6// <-- Short Description -->
7// This problem concerns th datenum function:
8// I'm getting the following results
9//
10// -->datenum(1996,12,31)
11// ans =
12//
13// 729389.8
14//
15// -->datenum(1997,1,1)
16// ans =
17//
18// 1.5
19
20
1// Non-regression test file for bug 1625 21// Non-regression test file for bug 1625
2// Copyright INRIA 22// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 23// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1629.sci b/tests/nonRegression/bug1629.sci
index 96af500..505411e 100644
--- a/tests/nonRegression/bug1629.sci
+++ b/tests/nonRegression/bug1629.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1629 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1629
5//
6// <-- Short Description -->
7// Scila freezes when trying to convert the following m-file:
8// ----------------------------
9// function out=bug_test(par)
10// if (nargin<2)
11// par.a = 2;
12// par.p = 24;
13// par.v = 12;
14// par.m = 75;
15// par.n = 800;
16// par.q = 5;
17// par.r = 20;
18// par.i = 0.05;
19// par.z = 3.5;
20// par.l = -40;
21// par.d = 1000;
22// par.o = 8;
23// par.u = 0;
24// end
25// ---------------------
26// Note: without the nargin test surrounding the structure field assignments, the
27// ...
28
29
1// Non-regression test file for bug 1629 30// Non-regression test file for bug 1629
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - F. Belahcene 32// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1636.sci b/tests/nonRegression/bug1636.sci
index 29cd1ce..b912dda 100644
--- a/tests/nonRegression/bug1636.sci
+++ b/tests/nonRegression/bug1636.sci
@@ -1,3 +1,19 @@
1// <-- Non-regression test for bug 1636 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1636
5//
6// <-- Short Description -->
7// When processing an m-file with multiple continuation lines in the
8// initial funtion statement, i.e the first line, I received an index
9// error in line 181 of m2sci_syntax. On investigation, I found the index
10// k was zero and traced this to lines 141 and 171 which set k=k-1 after
11// appending line k to line k-1. I have produced a modified
12// m2sci_syntax.sci file with the line if k<> 1 then k=k-1; end instead of
13// k=k-1 for lines 141 and 181 which seems to work OK. No errors and
14// produces an sci file
15
16
1// Non-regression test file for bug 1636 17// Non-regression test file for bug 1636
2// Copyright INRIA 18// Copyright INRIA
3// Scilab Project - F. Belahcene 19// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1662.sci b/tests/nonRegression/bug1662.sci
index f669c6d..24be07b 100644
--- a/tests/nonRegression/bug1662.sci
+++ b/tests/nonRegression/bug1662.sci
@@ -1,3 +1,16 @@
1// <-- Non-regression test for bug 1662 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1662
5//
6// <-- Short Description -->
7// when converting Matlab switch case statements to Scilab select case
8// statements using m2sci_syntax , if there is a comment line between the
9// switch and case statement in the m file, the sytnax is rejected with an
10// incorrect syntax error. Take the comment out and it works fine. Not a
11// major problem but a slight nuisance
12
13
1// Non-regression test file for bug 1662 14// Non-regression test file for bug 1662
2// Copyright INRIA 15// Copyright INRIA
3// Scilab Project - F. Belahcene 16// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1682.sci b/tests/nonRegression/bug1682.sci
index 714ad84..6f9e638 100644
--- a/tests/nonRegression/bug1682.sci
+++ b/tests/nonRegression/bug1682.sci
@@ -1,3 +1,20 @@
1// <-- Non-regression test for bug 1682 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1682
5//
6// <-- Short Description -->
7// Scilab 4.0 RC1 under Windows XP
8// The field Figure.rotation_style="multiple" does not work correctly.
9//
10// The rotation of the axes of the first system by the change of the field
11// Axes.rotation_angles does not force the rotation of the second one.
12//
13// When making a manual rotation, it works.
14//
15// Jacques-Deric
16
17
1// Non-regression test file for bug 1682 18// Non-regression test file for bug 1682
2// Copyright INRIA 19// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 20// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1684.sci b/tests/nonRegression/bug1684.sci
index 890d4c0..dd48e45 100644
--- a/tests/nonRegression/bug1684.sci
+++ b/tests/nonRegression/bug1684.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1684 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1684
5//
6// <-- Short Description -->
7// I can't compute the following expression:
8// A = 1 + -2;
9// I need to enter A = 1 + (-2);
10// I've got a program which generates automaticaly matlab scripts with this kind of
11// expressions and I don't want to change it to test is the value is negative and
12// then add parenthesis.
13
14
1// Non-regression test file for bug 1684 15// Non-regression test file for bug 1684
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Serge Steer 17// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1693.sci b/tests/nonRegression/bug1693.sci
index 9fac4ac..2814ff9 100644
--- a/tests/nonRegression/bug1693.sci
+++ b/tests/nonRegression/bug1693.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1693 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1693
5//
6// <-- Short Description -->
7// cd \ throws an error
8//
9// -->cd \
10// !--error 998
11// Can't go to directory \
12// at line 6 of function cd called by :
13// cd \
14//
15// In scilab-3.1.1, it works
16//
17// -->cd \
18// ans =
19//
20// C:\
21//
22// This was reported on the newsgroup:
23// http://groups.google.fr/group/comp.soft-
24// sys.math.scilab/browse_thread/thread/3e2f8a72af0148fd/e0f7866780de7fbf
25//
26// Since the Windows command interpreter accepts this (cd \ changes
27// ...
28
29
1// Non-regression test file for bug 1505 30// Non-regression test file for bug 1505
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 32// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1711.sci b/tests/nonRegression/bug1711.sci
index 2ea7da0..16f708a 100644
--- a/tests/nonRegression/bug1711.sci
+++ b/tests/nonRegression/bug1711.sci
@@ -1,3 +1,27 @@
1// <-- Non-regression test for bug 1711 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1711
5//
6// <-- Short Description -->
7// datenum() produces incorrect results. For example:
8//
9// -->datenum(2006,1,4)
10// ans =
11//
12// 4.5
13//
14// -->datenum()
15// ans =
16//
17// 4.8753166
18//
19// -->datevec(datenum())
20// ans =
21//
22// - 1. 13. 4. 21. 0. 27.783333
23
24
1// Non-regression test file for bug 1711 25// Non-regression test file for bug 1711
2// Copyright INRIA 26// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 27// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1712.sci b/tests/nonRegression/bug1712.sci
index 9a366d3..5a95c18 100644
--- a/tests/nonRegression/bug1712.sci
+++ b/tests/nonRegression/bug1712.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1712 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1712
5//
6// <-- Short Description -->
7// Logical binary operations &,| with hypermatrices fail, as shown in the
8// following examples. (The unary operation ~ succeeds.)
9//
10// -->hm=hypermat([2 2 2],1:8)
11//
12// -->hm>min(hm) & hm<max(hm)
13// !--error 4
14// undefined variable : %l_h_l
15//
16// -->hm==min(hm) | hm==max(hm)
17// !--error 4
18// undefined variable : %l_g_l
19//
20// -->~(hm==min(hm))
21// ans =
22//
23// (:,:,1)
24//
25// ! F T !
26// ! T T !
27// ...
28
29
1// Non-regression test file for bug 1712 30// Non-regression test file for bug 1712
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 32// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1720.sci b/tests/nonRegression/bug1720.sci
index f77eb87..b7f8e29 100644
--- a/tests/nonRegression/bug1720.sci
+++ b/tests/nonRegression/bug1720.sci
@@ -1,3 +1,20 @@
1// <-- Non-regression test for bug 1720 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1720
5//
6// <-- Short Description -->
7// Scilab 4.0-RC1
8// Different default behavior of xfrect and xfarc
9// xfrec does not draw the limit of the rectangle
10// xfarc draws the limit of the circle
11//
12// I don't know which is right and which is wrong, but there is an obvious
13// inconsistency between the two behaviors
14//
15// Jacques-Deric
16
17
1// Non-regression test file for bug 1720 18// Non-regression test file for bug 1720
2// Copyright INRIA 19// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 20// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1725.sci b/tests/nonRegression/bug1725.sci
index 5d94664..55427c7 100644
--- a/tests/nonRegression/bug1725.sci
+++ b/tests/nonRegression/bug1725.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1725 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1725
5//
6// <-- Short Description -->
7// the function mtlb_axis returns an index error when called with an
8// argument of [ 1 500 -22.3 1.4] or any other argument.
9//
10// This was traced to varargout(1) not being set to a.data_bounds within
11// the code segment
12// if rhs>0 then
13//
14// statements
15//
16// else// v = axis
17// else
18// varargout(1)=a.data_bounds;
19// end
20// endfunction
21//
22// Changing this to
23// if rhs>0 then
24//
25// statements
26// varargout(1)=a.data_bounds;
27// ...
28
29
1// Non-regression test file for bug 1725 30// Non-regression test file for bug 1725
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Farid Belahcene 32// Scilab Project - Farid Belahcene
diff --git a/tests/nonRegression/bug1732.sci b/tests/nonRegression/bug1732.sci
index a98203f..e5cff88 100644
--- a/tests/nonRegression/bug1732.sci
+++ b/tests/nonRegression/bug1732.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 1732 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1732
5//
6// <-- Short Description -->
7// The field Axes.sub_tics does not correctly works under Linux, but correctly
8// works un Windows.
9//
10// Jacques-Deric
11
12
1// Non-regression test file for bug 1732 13// Non-regression test file for bug 1732
2// Copyright INRIA 14// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 15// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1736.sci b/tests/nonRegression/bug1736.sci
index 48488f2..a4a7660 100644
--- a/tests/nonRegression/bug1736.sci
+++ b/tests/nonRegression/bug1736.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 1736 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1736
5//
6// <-- Short Description -->
7// Actually this is the same bug as 608, but it has been
8// marked incorrectly as RESOLVED. The fix should be the
9// same I posted some years ago for version 2.7 and I'm
10// surprised it hasn't be applied a lot of years after it
11// has been indentified and posted a bug correction... There
12// is a problem with uint8 comparisons...
13
14
1// Non-regression test file for bug 1736 15// Non-regression test file for bug 1736
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Serge Steer 17// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1742.sci b/tests/nonRegression/bug1742.sci
index b6855ad..2c8f7bb 100644
--- a/tests/nonRegression/bug1742.sci
+++ b/tests/nonRegression/bug1742.sci
@@ -1,3 +1,20 @@
1// <-- Non-regression test for bug 1742 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1742
5//
6// <-- Short Description -->
7// function [m]=msd(x,orien)
8// //This function computes the mean squared deviation of the values of a
9// //vector or matrix x.
10//
11// elseif orien=='r'|orien==1 then
12// m=sqrt(sum((x-ones(x(:,1))*mean(x,'r')).^2,'r')/ncol);
13//
14// This formula is wrong. Must be canged in:
15// m=sqrt(sum((x-ones(x(:,1))*mean(x,'r')).^2,'r')/nrow);
16
17
1// Non-regression test file for bug 1742 18// Non-regression test file for bug 1742
2// Copyright INRIA 19// Copyright INRIA
3// Scilab Project - Serge Steer 20// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1768.sci b/tests/nonRegression/bug1768.sci
index 5025bd4..c4e118b 100644
--- a/tests/nonRegression/bug1768.sci
+++ b/tests/nonRegression/bug1768.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 1768 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1768
5//
6// <-- Short Description -->
7// I just downloaded Scilab-4.0rc1.
8// Whenever I write a new function and try to write the relative help
9// file, xmltohtml crashes. Apparently, it does not found the whatis file
10// even if it was just created successfully
11
12
1// Non-regression test file for bug 1768 13// Non-regression test file for bug 1768
2// Copyright INRIA 14// Copyright INRIA
3// Scilab Project - Serge Steer 15// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1772.sci b/tests/nonRegression/bug1772.sci
index 4875e96..4285bdb 100644
--- a/tests/nonRegression/bug1772.sci
+++ b/tests/nonRegression/bug1772.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 1772 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1772
5//
6// <-- Short Description -->
7// There is a problem while inserting an object of type list in an undefined struct
8// field
9
10
1// Non-regression test file for bug 1772 11// Non-regression test file for bug 1772
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - Serge Steer 13// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1784.sci b/tests/nonRegression/bug1784.sci
index febf841..6bab5235 100644
--- a/tests/nonRegression/bug1784.sci
+++ b/tests/nonRegression/bug1784.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1784 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1784
5//
6// <-- Short Description -->
7// Problem while inserting a matrix in an N-D matrix
8
9
1// Non-regression test file for bug 1784 10// Non-regression test file for bug 1784
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Serge Steer 12// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1786.sci b/tests/nonRegression/bug1786.sci
index 1cf788b..aa39b08 100644
--- a/tests/nonRegression/bug1786.sci
+++ b/tests/nonRegression/bug1786.sci
@@ -1,3 +1,19 @@
1// <-- Non-regression test for bug 1786 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1786
5//
6// <-- Short Description -->
7// Scilab 4.0-RC1
8// Handle Label : rotation of the text
9//
10// Changing field Label.auto_rotation to off does not causes the rotation of the
11// text. To force the rotation, it is necessary to re-affect the value of
12// Label.font_angle.
13//
14// jacques-Deric
15
16
1// Non-regression test file for bug 1786 17// Non-regression test file for bug 1786
2// Copyright INRIA 18// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 19// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1787.sci b/tests/nonRegression/bug1787.sci
index a4120c7..c7f3da1 100644
--- a/tests/nonRegression/bug1787.sci
+++ b/tests/nonRegression/bug1787.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 1787 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1787
5//
6// <-- Short Description -->
7// Scilab 4.0 RC1
8// The calling of procedure xtitle bugs when the drawing of boxes is asked.
9//
10// Jacques-Deric
11
12
1// Non-regression test file for bug 1787 13// Non-regression test file for bug 1787
2// Copyright INRIA 14// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 15// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1794.sci b/tests/nonRegression/bug1794.sci
index 2f00eb5..6ef32a1 100644
--- a/tests/nonRegression/bug1794.sci
+++ b/tests/nonRegression/bug1794.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1794 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1794
5//
6// <-- Short Description -->
7// Problem encountered when redefining builtin function
8
9
1// Non-regression test file for bug 1794 10// Non-regression test file for bug 1794
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Serge Steer 12// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1802.sci b/tests/nonRegression/bug1802.sci
index ca8113c..d609a5c 100644
--- a/tests/nonRegression/bug1802.sci
+++ b/tests/nonRegression/bug1802.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1802 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1802
5//
6// <-- Short Description -->
7// The sci2exp function is very very slow for large matrices
8
9
1// Non-regression test file for bug 1802 10// Non-regression test file for bug 1802
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Serge Steer 12// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1812.sci b/tests/nonRegression/bug1812.sci
index b3a6b9e..111498a 100644
--- a/tests/nonRegression/bug1812.sci
+++ b/tests/nonRegression/bug1812.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1812 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1812
5//
6// <-- Short Description -->
7// error in converting matlab || as && and other translator doubts
8
9
1// Non-regression test file for bug 1812 10// Non-regression test file for bug 1812
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - F. Belahcene 12// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1859.sci b/tests/nonRegression/bug1859.sci
index d2acc5f..6ab9561 100644
--- a/tests/nonRegression/bug1859.sci
+++ b/tests/nonRegression/bug1859.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 1859 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1859
5//
6// <-- Short Description -->
7// I sent the following commands
8//
9// Year = [2002, 2002];
10// Month = [2, 3];
11// Day = [28, 1];
12// datenum(Year, Month, Day)
13//
14// The SCILAB output is:
15//
16// 731275. 731278.
17//
18// But this seems me incorrect, as 2002-03-01 is just one day following 2002-02-28.
19//
20// Now, if you give the commands
21//
22// datenum(2002,2,28)
23// datenum(2002,3,1)
24//
25// you respectively obtain the two outputs
26//
27// ...
28
29
1// Non-regression test file for bug 1859 30// Non-regression test file for bug 1859
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 32// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1867.sci b/tests/nonRegression/bug1867.sci
index 81ccd14..e8ba32c 100644
--- a/tests/nonRegression/bug1867.sci
+++ b/tests/nonRegression/bug1867.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 1867 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1867
5//
6// <-- Short Description -->
7// msscanf fails to parse formats with a large number of entries (larger
8// than 30 it
9// seems).
10
11
1// Non-regression test file for bug 1867 12// Non-regression test file for bug 1867
2// A.C 13// A.C
3// Copyright INRIA 2006 14// Copyright INRIA 2006
diff --git a/tests/nonRegression/bug1902.sci b/tests/nonRegression/bug1902.sci
index a3b57c9..8b154e0 100644
--- a/tests/nonRegression/bug1902.sci
+++ b/tests/nonRegression/bug1902.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 1902 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1902
5//
6// <-- Short Description -->
7// in drawlater mode the bounding box of strings may be wrong
8
9
1// Non-regression test file for bug 1902 10// Non-regression test file for bug 1902
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 12// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug1933.sci b/tests/nonRegression/bug1933.sci
index e38c1e3..a4bb881 100644
--- a/tests/nonRegression/bug1933.sci
+++ b/tests/nonRegression/bug1933.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 1933 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1933
5//
6// <-- Short Description -->
7// log and log2 doesn't work on vectors with %nan under windows. They work
8// nicely
9// under linux.
10
11
1// Non-regression test file for bug 1933 12// Non-regression test file for bug 1933
2// A.C 13// A.C
3// Copyright INRIA 2006 14// Copyright INRIA 2006
diff --git a/tests/nonRegression/bug1955.sci b/tests/nonRegression/bug1955.sci
index af03362..37c4660 100644
--- a/tests/nonRegression/bug1955.sci
+++ b/tests/nonRegression/bug1955.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 1955 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1955
5//
6// <-- Short Description -->
7// Reshaping global hypermatrices is problematic, as demonstrated by the
8// attached file 'bug.sci', which contains further comments.
9
10
1// Non-regression test file for bug 1955 11// Non-regression test file for bug 1955
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - Serge Steer 13// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1956.sci b/tests/nonRegression/bug1956.sci
index df058d8..5a316ea 100644
--- a/tests/nonRegression/bug1956.sci
+++ b/tests/nonRegression/bug1956.sci
@@ -1,3 +1,21 @@
1// <-- Non-regression test for bug 1956 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1956
5//
6// <-- Short Description -->
7// this works for example:
8// a=10; // a constant
9// for i=1:2
10// d(i)=a;
11// end
12// but it doesn't work if 'a' is a structure.
13// I find a solution for a structure:
14// a.b=[1 2 3];
15// a.c=[4 5 6]
16// but it's not smart and clear code...
17
18
1// Non-regression test file for bug 1956 19// Non-regression test file for bug 1956
2// Copyright INRIA 20// Copyright INRIA
3// Scilab Project - Serge Steer 21// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1957.sci b/tests/nonRegression/bug1957.sci
index 6b1c329..50e1fb3 100644
--- a/tests/nonRegression/bug1957.sci
+++ b/tests/nonRegression/bug1957.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 1957 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1957
5//
6// <-- Short Description -->
7// Non fonctionnement de intersci pour les variables optionnelles (au
8// moins scalaires)
9
10
1// Non-regression test file for bug 1957 11// Non-regression test file for bug 1957
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - Serge Steer 13// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug1971.sci b/tests/nonRegression/bug1971.sci
index 6722534..64f1219 100644
--- a/tests/nonRegression/bug1971.sci
+++ b/tests/nonRegression/bug1971.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 1971 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1971
5//
6// <-- Short Description -->
7// the mtlb_fprintf does not work. It should be re-written to follow the Matlab doc
8// of fprintf
9
10
1// Non-regression test file for bug 1971 11// Non-regression test file for bug 1971
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - F. Belahcene 13// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug1977.sci b/tests/nonRegression/bug1977.sci
index 10baef0..7e14791 100644
--- a/tests/nonRegression/bug1977.sci
+++ b/tests/nonRegression/bug1977.sci
@@ -1,3 +1,20 @@
1// <-- Non-regression test for bug 1977 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1977
5//
6// <-- Short Description -->
7// inttype has stars in error message
8//
9//
10// -->inttype("hell")
11// !--error 44
12// ***th argument is incorrect
13//
14//
15// Francois
16
17
1// Non-regression test file for bug 1977 18// Non-regression test file for bug 1977
2// Copyright INRIA 19// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 20// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1979.sci b/tests/nonRegression/bug1979.sci
index 324c0bd..61b59cd 100644
--- a/tests/nonRegression/bug1979.sci
+++ b/tests/nonRegression/bug1979.sci
@@ -1,3 +1,18 @@
1// <-- Non-regression test for bug 1979 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1979
5//
6// <-- Short Description -->
7// I think that something is forgotten in the integer treatment in Scilab :
8//
9// -->a=int32(1);b=int32(6);
10// -->a:b
11// a:b
12// !--error 4
13// undefined variable : %i_b_i
14
15
1// Non-regression test file for bug 1979 16// Non-regression test file for bug 1979
2// Copyright INRIA 17// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 18// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug1991.sci b/tests/nonRegression/bug1991.sci
index eddc5ef..f48775c 100644
--- a/tests/nonRegression/bug1991.sci
+++ b/tests/nonRegression/bug1991.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 1991 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1991
5//
6// <-- Short Description -->
7// [a,b]=(3,int32(5))
8// !--error 78
9// convert: wrong number of lhs arguments
10
11
1// Non-regression test file for bug 1991 12// Non-regression test file for bug 1991
2// Copyright INRIA 13// Copyright INRIA
3// Scilab Project - Serge Steer 14// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug2014.sci b/tests/nonRegression/bug2014.sci
index 4f72cca..652fe13 100644
--- a/tests/nonRegression/bug2014.sci
+++ b/tests/nonRegression/bug2014.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 2014 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2014
5//
6// <-- Short Description -->
7// The function isequal doesn't work properly with list.
8//
9// -->a=list("a");b=list("a","b");
10// -->isequal(a,b)
11// ans =
12//
13// T
14//
15// -->isequal(b,a)
16// !--error 21
17// invalid index
18// at line 10 of function %l_isequal called by :
19// isequal(b,a)
20//
21// I propose this modification of the macro %l_isequal in the file
22// SCI/macros/percent/%l_isequal.sci :
23//
24// 1 - function r=%l_isequal(x1,varargin)
25// 2 - narg=size(varargin)
26// 3 - if narg==0 then error('isequal requires at least two input arguments'),end
27// ...
28
29
1// Non-regression test file for bug 2014 30// Non-regression test file for bug 2014
2// Copyright INRIA 31// Copyright INRIA
3// Scilab Project - Serge Steer 32// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug2022.sci b/tests/nonRegression/bug2022.sci
index d30e25a..a4ee9b4 100644
--- a/tests/nonRegression/bug2022.sci
+++ b/tests/nonRegression/bug2022.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 2022 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2022
5//
6// <-- Short Description -->
7// percentile function (perctl) doesn't always calculate percentile value, instead
8// choosing to error out:
9//
10// Example that causes error:
11//
12// perctl([23.4,364.34,1929.3,4234.3,293.3,928.3],[10])
13
14
1// Non-regression test file for bug 2022 15// Non-regression test file for bug 2022
2// Author : Scilab Project - Pierre MARECHAL 16// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 17// Copyright INRIA
diff --git a/tests/nonRegression/bug2038.sci b/tests/nonRegression/bug2038.sci
index 22da888..0ab50a6 100644
--- a/tests/nonRegression/bug2038.sci
+++ b/tests/nonRegression/bug2038.sci
@@ -1,3 +1,23 @@
1// <-- Non-regression test for bug 2038 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2038
5//
6// <-- Short Description -->
7// The dir command does not read properly directories different from the
8// current
9// one. Give the command a=dir('SubDir') (assuming SubDir exists and is
10// non
11// empty). Then, each element of a.isdir is %f, each element of a.date and
12// a.bytes
13// is 0.
14//
15// See also
16// http://groups.google.it/group/comp.soft-
17// sys.math.scilab/browse_thread/thread/2f81e9afd1d7d6f1/e33536bff4dc1ecf#e
18// 33536bff4dc1ecf
19
20
1// Non-regression test file for bug 2038 21// Non-regression test file for bug 2038
2// Author : Scilab Project - Allan CORNET 22// Author : Scilab Project - Allan CORNET
3// Copyright INRIA 23// Copyright INRIA
diff --git a/tests/nonRegression/bug2039.sci b/tests/nonRegression/bug2039.sci
index 41b5ede..4091335 100644
--- a/tests/nonRegression/bug2039.sci
+++ b/tests/nonRegression/bug2039.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 2039 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2039
5//
6// <-- Short Description -->
7// non empty lasterror on Scilab startup
8//
9//
10// Startup execution:
11// loading initial environment
12//
13// -->[str,n,line,func]=lasterror(%f)
14// func =
15//
16//
17// line =
18//
19// 0.
20// n =
21//
22// 999.
23// str =
24//
25// Cannot query value of this type.
26//
27// ...
28
29
1// Non-regression test file for bug 2039 30// Non-regression test file for bug 2039
2// Author : Scilab Project - Pierre MARECHAL 31// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 32// Copyright INRIA
diff --git a/tests/nonRegression/bug2045.sci b/tests/nonRegression/bug2045.sci
index bea177b..fd7f4c9 100644
--- a/tests/nonRegression/bug2045.sci
+++ b/tests/nonRegression/bug2045.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2045 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2045
5//
6// <-- Short Description -->
7// xpolys([],[],-1)
8// kills scilex
9
10
1// Non-regression test file for bug 2045 11// Non-regression test file for bug 2045
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 13// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug205.sci b/tests/nonRegression/bug205.sci
index f7c7a35..63ac3a6 100644
--- a/tests/nonRegression/bug205.sci
+++ b/tests/nonRegression/bug205.sci
@@ -1,3 +1,28 @@
1// <-- Non-regression test for bug 205 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=205
5//
6// <-- Short Description -->
7// Bug Report Id: 04062001110115540
8// determ oublie les termes de plus haut degre.
9//
10// On Scilab 2.5 with " determ " function
11// The Error Messages are:
12//
13// Commands: // scilab dit que le polynome caracteristique de
14// // cette matrice de dimension
15// // 30 est de degre 21
16// N=30
17// a=rand(N,N)
18// s=poly(0,'s')
19// p=determ(eye(N,N)*s-a)
20// degree(p)
21//
22// Gaubert on Linux PPC version 2.2.13 distribution with X/kde as window manager
23// France February 10, 2001 at 11:55:40
24
25
1// Non-regression test file for bug 205 26// Non-regression test file for bug 205
2// Author : Scilab Project - Pierre MARECHAL 27// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 28// Copyright INRIA
diff --git a/tests/nonRegression/bug2052.sci b/tests/nonRegression/bug2052.sci
index 27f23a7..e9c18c4 100644
--- a/tests/nonRegression/bug2052.sci
+++ b/tests/nonRegression/bug2052.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2052 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2052
5//
6// <-- Short Description -->
7// Bug dans la primitive "isequal" (au moins) avec des type de données
8// utilisateur
9
10
1// Non-regression test file for bug 2052 11// Non-regression test file for bug 2052
2// Serge Steer - Scilab Project 12// Serge Steer - Scilab Project
3// Copyright INRIA 13// Copyright INRIA
diff --git a/tests/nonRegression/bug2067.sci b/tests/nonRegression/bug2067.sci
index 0a96d48..5b2a74d 100644
--- a/tests/nonRegression/bug2067.sci
+++ b/tests/nonRegression/bug2067.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 2067 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2067
5//
6// <-- Short Description -->
7// Scilab dies when the Plot command is given a large numerical value.
8//
9// Tried it with Scilab Nightly Build 20060710.
10//
11// Greetings from Poland,
12// Lukasz Hladowski.
13
14
1// Non-regression test file for bug 2067 15// Non-regression test file for bug 2067
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 17// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug2092.sci b/tests/nonRegression/bug2092.sci
index 7936bef..63043c4 100644
--- a/tests/nonRegression/bug2092.sci
+++ b/tests/nonRegression/bug2092.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2092 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2092
5//
6// <-- Short Description -->
7// Incorrect handling of second input argument to function mad()
8
9
1// Non-regression test file for bug 2092 10// Non-regression test file for bug 2092
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 12// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug2093.sci b/tests/nonRegression/bug2093.sci
index f661637..6f942bd 100644
--- a/tests/nonRegression/bug2093.sci
+++ b/tests/nonRegression/bug2093.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2093 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2093
5//
6// <-- Short Description -->
7// matrix(A,q) doesn't return a q*1 matrix when A is a 1*1*q matrix and q a scalar.
8// Instead, it returns a mlist.
9
10
1// Non-regression test file for bug 2093 11// Non-regression test file for bug 2093
2// Copyright INRIA 12// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 13// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug2098.sci b/tests/nonRegression/bug2098.sci
index e4c906d..b3e0de0 100644
--- a/tests/nonRegression/bug2098.sci
+++ b/tests/nonRegression/bug2098.sci
@@ -1,3 +1,23 @@
1// <-- Non-regression test for bug 2098 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2098
5//
6// <-- Short Description -->
7// showprofile(test) makes Scilab crash if the function 'test' has not
8// been prepared for profiling, as demonstrated by the following example:
9//
10// -->function test
11// -->disp('test')
12// -->endfunction
13//
14// -->test
15//
16// test
17//
18// -->showprofile(test) // this line makes Scilab exit silently
19
20
1// Non-regression test file for bug 2098 21// Non-regression test file for bug 2098
2// Author : Scilab Project - Pierre MARECHAL 22// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 23// Copyright INRIA
diff --git a/tests/nonRegression/bug2137.sci b/tests/nonRegression/bug2137.sci
index 3e3bc8d..d3ec179 100644
--- a/tests/nonRegression/bug2137.sci
+++ b/tests/nonRegression/bug2137.sci
@@ -1,3 +1,27 @@
1// <-- Non-regression test for bug 2137 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2137
5//
6// <-- Short Description -->
7// wrong translation of Matlab function randn
8//
9//
10// Put this single line in an m-file:
11//
12// R = randn
13//
14// and try to convert using mfile2sci.
15//
16// Output is:
17//
18// R = randn(1,1,"normal")
19//
20// which is wrong (no such function in Scilab).
21//
22// Francois
23
24
1// Non-regression test file for bug 2137 25// Non-regression test file for bug 2137
2// Copyright INRIA 26// Copyright INRIA
3// Scilab Project - F. Belahcene 27// Scilab Project - F. Belahcene
diff --git a/tests/nonRegression/bug2149.sci b/tests/nonRegression/bug2149.sci
index 80fcb0b..4181b18 100644
--- a/tests/nonRegression/bug2149.sci
+++ b/tests/nonRegression/bug2149.sci
@@ -1,3 +1,29 @@
1// <-- Non-regression test for bug 2149 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2149
5//
6// <-- Short Description -->
7// Missing error message in fprintfMat
8//
9//
10// help fprintfMat states that the matrix to save must be a matrix of real
11// numbers. Therefore:
12//
13// -->M=[1+%i;1-%i];
14//
15// -->fprintfMat("mymatrix.txt",M,"%f")
16//
17// -->
18// should spit an error. It does not but it silently saves the real part
19// of M instead.
20//
21// Another (better) option: extend fprintfMat/scanfMat so that they work
22// with complex matrices (or matrices of integers, booleans, etc).
23//
24// Francois
25
26
1// Non-regression test file for bug 2149 27// Non-regression test file for bug 2149
2// Copyright INRIA 28// Copyright INRIA
3// Scilab Project - Allan CORNET 29// Scilab Project - Allan CORNET
diff --git a/tests/nonRegression/bug2162.sci b/tests/nonRegression/bug2162.sci
index 025360d..8b960ff 100644
--- a/tests/nonRegression/bug2162.sci
+++ b/tests/nonRegression/bug2162.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2162 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2162
5//
6// <-- Short Description -->
7// When using plot3d with facets coordinates, it is impossible to draw a single facet.
8
9
1// Non-regression test file for bug 2162 10// Non-regression test file for bug 2162
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 12// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug2181.sci b/tests/nonRegression/bug2181.sci
index ac163ee..927c8cc 100644
--- a/tests/nonRegression/bug2181.sci
+++ b/tests/nonRegression/bug2181.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 2181 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2181
5//
6// <-- Short Description -->
7// getrelativefilename crashes when the two arguments it receives refer to
8// different drives.
9//
10// Francois
11
12
1// Non-regression test file for bug 2181 13// Non-regression test file for bug 2181
2// Pierre MARECHAL - Scilab Project 14// Pierre MARECHAL - Scilab Project
3// Copyright INRIA 15// Copyright INRIA
diff --git a/tests/nonRegression/bug2263.sci b/tests/nonRegression/bug2263.sci
index 46324cd..d64e66f 100644
--- a/tests/nonRegression/bug2263.sci
+++ b/tests/nonRegression/bug2263.sci
@@ -1,3 +1,27 @@
1// <-- Non-regression test for bug 2263 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2263
5//
6// <-- Short Description -->
7// Suppose you want to call a arbitrary scilab function "test". But you want the
8// outputs from this function be stored in a matlab-like struct, for example,
9// [out.t1,out.t2,out.t3,out.t4]=test(1)
10// This works fine, but if you have a nested structure (out.a.XXX) than scilab is
11// not able to provide the outputs at the correct places, for example
12// [out.a.t1,out.a.t2,out.a.t3,out.a.t4]=test(1).
13//
14//
15// The function "test" could be:
16// function [a,b,c,d,e]=teste(in)
17// a=in;
18// b=in+1;
19// c=in+2;
20// d=in+3;
21// e=in+4;
22// endfunction
23
24
1// Non-regression test file for bug 2263 25// Non-regression test file for bug 2263
2// Serge Steer - Scilab Project 26// Serge Steer - Scilab Project
3// Copyright INRIA 27// Copyright INRIA
diff --git a/tests/nonRegression/bug2264.sci b/tests/nonRegression/bug2264.sci
index dacb366..c60aba6 100644
--- a/tests/nonRegression/bug2264.sci
+++ b/tests/nonRegression/bug2264.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2264 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2264
5//
6// <-- Short Description -->
7// lcm gives wrong value for 3-element vectors(cf bug 666)
8
9
1// Non-regression test file for bug 2264 10// Non-regression test file for bug 2264
2// Serge Steer - Scilab Project 11// Serge Steer - Scilab Project
3// Copyright INRIA 12// Copyright INRIA
diff --git a/tests/nonRegression/bug2268.sci b/tests/nonRegression/bug2268.sci
index e606d69..316ed47 100644
--- a/tests/nonRegression/bug2268.sci
+++ b/tests/nonRegression/bug2268.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2268 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2268
5//
6// <-- Short Description -->
7// Memory leak in msscanf(). When calling msscanf() many times, as in reading in
8// large CSV files, process size grows beyond memory capacity.
9
10
1// Non-regression test file for bug 2266 11// Non-regression test file for bug 2266
2// Serge Steer - Scilab Project 12// Serge Steer - Scilab Project
3// Copyright INRIA 13// Copyright INRIA
diff --git a/tests/nonRegression/bug2270.sci b/tests/nonRegression/bug2270.sci
index 9623e43..0f8814a 100644
--- a/tests/nonRegression/bug2270.sci
+++ b/tests/nonRegression/bug2270.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 2270 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2270
5//
6// <-- Short Description -->
7// datenum(Y,M,D) issues an incorrect error message when the third
8// parameter is invalid. The error should say 'The third argument must be
9// between 1 and 31', depending on the actual number of days in that
10// specific month.
11
12
1// Non-regression test file for bug 2270 13// Non-regression test file for bug 2270
2// Copyright INRIA 14// Copyright INRIA
3// Scilab Project - Pierre MARECHAL 15// Scilab Project - Pierre MARECHAL
diff --git a/tests/nonRegression/bug2277.sci b/tests/nonRegression/bug2277.sci
index 4a692c0..048cbdf 100644
--- a/tests/nonRegression/bug2277.sci
+++ b/tests/nonRegression/bug2277.sci
@@ -1,3 +1,18 @@
1// <-- Non-regression test for bug 2277 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2277
5//
6// <-- Short Description -->
7// Scilab has a bug with the SPARSE command. When the "values vector" in the
8// row/column representation is COMPLEX the routine fails to build the sparse
9// matrix correctly. This seems to occur always when the first AND third entry of
10// this vector are zero.
11// The other bug is that when other elements are zero (not the third, the fifth for
12// example) they are still stored in the sparse representation.
13// This is very problematic for people doing finite element calculations with scilab!
14
15
1// Non-regression test file for bug 2277 16// Non-regression test file for bug 2277
2// Copyright INRIA 17// Copyright INRIA
3// Scilab Project - S. Steer 18// Scilab Project - S. Steer
diff --git a/tests/nonRegression/bug2284.sci b/tests/nonRegression/bug2284.sci
index e574172..a9c0519 100644
--- a/tests/nonRegression/bug2284.sci
+++ b/tests/nonRegression/bug2284.sci
@@ -1,3 +1,20 @@
1// <-- Non-regression test for bug 2284 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2284
5//
6// <-- Short Description -->
7// Numerical error when carrying out a particular calculation using the
8// complex exp function. E.g.
9//
10// -->20 * exp(%i * 2 * %pi / 3)
11// ans =
12//
13// -11. + 17.320508i
14//
15// This is the wrong result!!
16
17
1// Non-regression test file for bug 2284 18// Non-regression test file for bug 2284
2// Copyright INRIA 19// Copyright INRIA
3// Scilab Project - S. Steer 20// Scilab Project - S. Steer
diff --git a/tests/nonRegression/bug2322.sci b/tests/nonRegression/bug2322.sci
index ae87c5d..bd0ce38 100644
--- a/tests/nonRegression/bug2322.sci
+++ b/tests/nonRegression/bug2322.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2322 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2322
5//
6// <-- Short Description -->
7// emptystr(0,1) returns an empty matrix of size 0 x 1 which is not coherent with
8// current empty matrix managment.
9
10
1// Non-regression test file for bug 2322 11// Non-regression test file for bug 2322
2// Serge Steer - Scilab Project 12// Serge Steer - Scilab Project
3// Copyright INRIA 13// Copyright INRIA
diff --git a/tests/nonRegression/bug2330.sci b/tests/nonRegression/bug2330.sci
index af4a96d..78905c0 100644
--- a/tests/nonRegression/bug2330.sci
+++ b/tests/nonRegression/bug2330.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 2330 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2330
5//
6// <-- Short Description -->
7// datafit does not work equivalently on WinXP and Linux. With a given dataset and
8// same routines centered on datafit function, it works perfectly on Linux and
9// partially (some data are fitted some others not) on WinXP.
10
11
1// Non-regression test file for bug 2330 12// Non-regression test file for bug 2330
2// Serge Steer - Scilab Project 13// Serge Steer - Scilab Project
3// Copyright INRIA 14// Copyright INRIA
diff --git a/tests/nonRegression/bug2333.sci b/tests/nonRegression/bug2333.sci
index f778ffa..5c808b8 100644
--- a/tests/nonRegression/bug2333.sci
+++ b/tests/nonRegression/bug2333.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 2333 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2333
5//
6// <-- Short Description -->
7// I am trying to convert a large number of Matlab files to Scilab. Either
8// by using translatepath or a loop with mfile2sci I get the same error
9// message when converting specific .m files. It appears in recursive mode
10// only when calling another matlab function.
11
12
1// Non-regression test file for bug 2333 13// Non-regression test file for bug 2333
2// Vincent COUVERT - Scilab Project 14// Vincent COUVERT - Scilab Project
3// Copyright INRIA 15// Copyright INRIA
diff --git a/tests/nonRegression/bug2341.sci b/tests/nonRegression/bug2341.sci
index 1dcd8e3..5d67acc 100644
--- a/tests/nonRegression/bug2341.sci
+++ b/tests/nonRegression/bug2341.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2341 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2341
5//
6// <-- Short Description -->
7// unhandled matlab syntax for lhs (Matlab accepts lhs calling sequence without commas
8
9
1// Non-regression test file for bug 2341 10// Non-regression test file for bug 2341
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Vincent COUVERT 12// Scilab Project - Vincent COUVERT
diff --git a/tests/nonRegression/bug2344.sci b/tests/nonRegression/bug2344.sci
index 38f8482..4d58114 100644
--- a/tests/nonRegression/bug2344.sci
+++ b/tests/nonRegression/bug2344.sci
@@ -1,3 +1,22 @@
1// <-- Non-regression test for bug 2344 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2344
5//
6// <-- Short Description -->
7// dassl interface bug with the info parameter
8//
9// Whenever a non default info parameter is given to dassl, a wrong error
10// pops up.
11//
12// This has been reported first in the Scilab newsgroup:
13//
14// http://groups.google.com/group/comp.soft-
15// sys.math.scilab/browse_frm/thread/ad556ab9e14f3005/c20f3f4f6031f338
16//
17// Francois
18
19
1// Non-regression test file for bug 2344 20// Non-regression test file for bug 2344
2// Author : Francois Vogel 21// Author : Francois Vogel
3// Date : 16 March 2007 22// Date : 16 March 2007
diff --git a/tests/nonRegression/bug2362.sci b/tests/nonRegression/bug2362.sci
index e5df11c..09830bb 100644
--- a/tests/nonRegression/bug2362.sci
+++ b/tests/nonRegression/bug2362.sci
@@ -1,3 +1,18 @@
1// <-- Non-regression test for bug 2362 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2362
5//
6// <-- Short Description -->
7// plot3d3 crash
8//
9// plot3d3([0,0;10,10],[5,3;5,5],[0,2;0,2]);
10//
11// badaboom!
12//
13// Francois
14
15
1// Non-regression test file for bug 2362 16// Non-regression test file for bug 2362
2// Copyright INRIA 17// Copyright INRIA
3// Scilab Project - Jean-Baptiste Silvy 18// Scilab Project - Jean-Baptiste Silvy
diff --git a/tests/nonRegression/bug2396.sci b/tests/nonRegression/bug2396.sci
index 29b5a13..54fb39c 100644
--- a/tests/nonRegression/bug2396.sci
+++ b/tests/nonRegression/bug2396.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 2396 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2396
5//
6// <-- Short Description -->
7// Scilab crashes on call to feval. I might have defined a weird function
8// to be feval'ed, but scilab should not crash. The steps to reproduce the
9// bug cause scilab to hang with the error message below, I have to kill
10// it.
11//
12// Matthias
13
14
1// Non-regression test file for bug 2396 15// Non-regression test file for bug 2396
2// Serge Steer - Scilab Project 16// Serge Steer - Scilab Project
3// Copyright INRIA 17// Copyright INRIA
diff --git a/tests/nonRegression/bug2399.sci b/tests/nonRegression/bug2399.sci
index cf934d5..2fc4ca3 100644
--- a/tests/nonRegression/bug2399.sci
+++ b/tests/nonRegression/bug2399.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2399 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2399
5//
6// <-- Short Description -->
7// msscanf crashes scilab when scanning a vector of strings for float
8// values on Linux.
9
10
1// Non-regression test file for bug 2399 11// Non-regression test file for bug 2399
2// Author : Scilab Project - Pierre MARECHAL 12// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 13// Copyright INRIA
diff --git a/tests/nonRegression/bug2407.sci b/tests/nonRegression/bug2407.sci
index c579df6..41d3581 100644
--- a/tests/nonRegression/bug2407.sci
+++ b/tests/nonRegression/bug2407.sci
@@ -1,3 +1,25 @@
1// <-- Non-regression test for bug 2407 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2407
5//
6// <-- Short Description -->
7// stdev and st_deviation are not available for hypermatrix.
8//
9// When trying to calculate stdev of an hypermatrix, an error occurs
10// systematically. The stdev of an hypermatrix should be managed by the %
11// hm_st_deviation function in Scilab.
12// After a quick look at the code of this function, i think i've
13// understood the origin of the bug. There is a mix between two variables :
14// N and d.
15// For example, at line 8, instruction "p1=prod(dims(1:d-1));" should be
16// replace by p1=prod(dims(1:N-1));
17// I think that the replacement of d by N in all the function could solve
18// the problem.
19//
20// Regards.
21
22
1// Non-regression test file for bug 2407 23// Non-regression test file for bug 2407
2// Author : Scilab Project - Pierre MARECHAL 24// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 25// Copyright INRIA
diff --git a/tests/nonRegression/bug2410.sci b/tests/nonRegression/bug2410.sci
index b14eef6..4419b08 100644
--- a/tests/nonRegression/bug2410.sci
+++ b/tests/nonRegression/bug2410.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2410 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2410
5//
6// <-- Short Description -->
7// string(boolean array) is incredibly slow
8
9
1// Non-regression test file for bug 2410 10// Non-regression test file for bug 2410
2// Author : Scilab Project - Pierre MARECHAL 11// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 12// Copyright INRIA
diff --git a/tests/nonRegression/bug2414.sci b/tests/nonRegression/bug2414.sci
index 92b8224..db7de0c 100644
--- a/tests/nonRegression/bug2414.sci
+++ b/tests/nonRegression/bug2414.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2414 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2414
5//
6// <-- Short Description -->
7// assignment of empty string an empty variable has disastrous results. Probably a
8// parser bug, for statements of the form a=string(a), with a=[]
9
10
1// Non-regression test file for bug 2414 11// Non-regression test file for bug 2414
2// Author : Scilab Project - Pierre MARECHAL 12// Author : Scilab Project - Pierre MARECHAL
3// Copyright INRIA 13// Copyright INRIA
diff --git a/tests/nonRegression/bug2420.sci b/tests/nonRegression/bug2420.sci
index eaf6604..d7e998b 100644
--- a/tests/nonRegression/bug2420.sci
+++ b/tests/nonRegression/bug2420.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2420 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2420
5//
6// <-- Short Description -->
7// fun2string converts the sequence \@ as carriage return
8
9
1// Scilab Project - Serge Steer 10// Scilab Project - Serge Steer
2// Copyright INRIA 2007 11// Copyright INRIA 2007
3// Date : June 2007 12// Date : June 2007
diff --git a/tests/nonRegression/bug2421.sci b/tests/nonRegression/bug2421.sci
index ec555ab..7bd976f 100644
--- a/tests/nonRegression/bug2421.sci
+++ b/tests/nonRegression/bug2421.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2421 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2421
5//
6// <-- Short Description -->
7// colon (all elements) assignment from output arguments of a function beyond the
8// first not possible
9
10
1// Scilab Project - Serge Steer 11// Scilab Project - Serge Steer
2// Copyright INRIA 2007 12// Copyright INRIA 2007
3// Date : June 2007 13// Date : June 2007
diff --git a/tests/nonRegression/bug2428.sci b/tests/nonRegression/bug2428.sci
index bbc23d3..447582a 100644
--- a/tests/nonRegression/bug2428.sci
+++ b/tests/nonRegression/bug2428.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 2428 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2428
5//
6// <-- Short Description -->
7// I would like to convert to SciLab the package TBMLab 3.1 by Smets
8// (http://iridia.ulb.ac.be/~psmets/TBMLAB.zip). I tried both via the menu
9// Applications -> m2sci and trying to convert recursively the directory
10// of the package and via the SciPad menu File -> Import Matlab File. In
11// the first case the conversion fails without errors, in the second case
12// an error appears and a message suggests to report here the error.
13
14
1// Non-regression test file for bug 2428 15// Non-regression test file for bug 2428
2// Copyright INRIA 16// Copyright INRIA
3// Scilab Project - Vincent COUVERT 17// Scilab Project - Vincent COUVERT
diff --git a/tests/nonRegression/bug2429.sci b/tests/nonRegression/bug2429.sci
index 3992c79..cdc2700 100644
--- a/tests/nonRegression/bug2429.sci
+++ b/tests/nonRegression/bug2429.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2429 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2429
5//
6// <-- Short Description -->
7// Implicit vector in for loop are allocated
8
9
1// Non-regression test file for bug 2429 10// Non-regression test file for bug 2429
2// Copyright INRIA 11// Copyright INRIA
3// Scilab Project - Serge Steer 12// Scilab Project - Serge Steer
diff --git a/tests/nonRegression/bug2430.sci b/tests/nonRegression/bug2430.sci
index a4a2749..84db59f 100644
--- a/tests/nonRegression/bug2430.sci
+++ b/tests/nonRegression/bug2430.sci
@@ -1,3 +1,18 @@
1// <-- Non-regression test for bug 2430 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2430
5//
6// <-- Short Description -->
7// Wrong results when solving linear systems when the matrix
8// is sparse and 1x1, and rhs is compatible and sparse.
9// In the example below, M\b and full(M)\b give a wrong result,
10// whereas M\full(b) and full(M)\full(b) are ok.
11//
12// Strangely, when the size of b is less than 10, then all
13// cases give the correct answer !
14
15
1// Scilab Project - Serge Steer 16// Scilab Project - Serge Steer
2// Copyright INRIA 2007 17// Copyright INRIA 2007
3// Date : June 2007 18// Date : June 2007
diff --git a/tests/nonRegression/bug2435.sci b/tests/nonRegression/bug2435.sci
index f78eee1..abb22b7 100644
--- a/tests/nonRegression/bug2435.sci
+++ b/tests/nonRegression/bug2435.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 2435 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2435
5//
6// <-- Short Description -->
7// The following "optim based" function mades scilab hangs
8
9
1// Scilab Project - Serge Steer 10// Scilab Project - Serge Steer
2// Copyright INRIA 2007 11// Copyright INRIA 2007
3// Date : June 2007 12// Date : June 2007
diff --git a/tests/nonRegression/bug2453.sci b/tests/nonRegression/bug2453.sci
index cd2ceaf..1ea7838 100644
--- a/tests/nonRegression/bug2453.sci
+++ b/tests/nonRegression/bug2453.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2453 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2453
5//
6// <-- Short Description -->
7// mfscanf and probably the other variants msscanf mscanf may crash Scilab when
8// first argument is -1 (any number of lines)
9
10
1// Scilab Project - Serge Steer 11// Scilab Project - Serge Steer
2// Copyright INRIA 2007 12// Copyright INRIA 2007
3// Date : Aug 2007 13// Date : Aug 2007
diff --git a/tests/nonRegression/bug2467.sci b/tests/nonRegression/bug2467.sci
index 74ecbb0..5e24644 100644
--- a/tests/nonRegression/bug2467.sci
+++ b/tests/nonRegression/bug2467.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2467 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2467
5//
6// <-- Short Description -->
7// when trying to open plot files (scg) containing graphs with
8// logarithmic axes, I get this mysterious error message..
9
10
1// Scilab Project - Serge Steer 11// Scilab Project - Serge Steer
2// Copyright INRIA 2007 12// Copyright INRIA 2007
3// Date : Sept 2007 13// Date : Sept 2007
diff --git a/tests/nonRegression/bug2616.sci b/tests/nonRegression/bug2616.sci
index 28bab0a..4952a0a 100644
--- a/tests/nonRegression/bug2616.sci
+++ b/tests/nonRegression/bug2616.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 2616 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2616
5//
6// <-- Short Description -->
7// "eye variable undefined in this context" wrongly reported when a loop range is
8// defined concatenating ranges, inside a function
9
10
1// Scilab Project - Serge Steer 11// Scilab Project - Serge Steer
2// Copyright INRIA 2007 12// Copyright INRIA 2007
3// Date : June 2007 13// Date : June 2007
diff --git a/tests/nonRegression/bug461.sci b/tests/nonRegression/bug461.sci
index cfa1947..bf095d8 100644
--- a/tests/nonRegression/bug461.sci
+++ b/tests/nonRegression/bug461.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 461 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=461
5//
6// <-- Short Description -->
7// Bug Report Id: 11985200361815216
8// Result of following operations:
9// size(s0)
10// ans =
11// ! 1. 43. !
12//
13// size(s1) // and for s2 and s3
14// ans =
15// ! 43. 1. !
16// s0 is vector-row and s1, s2 s3- vector-colum
17//
18//
19// On Scilab 2.7 with " interp " function
20// The Error Messages are:
21// !--error 5
22// inconsistent column/row dimensions
23// Commands: x=[0. 1.01 2.01 3. 4.02];
24// f=[0. 1. 3.9 8.75 16.5];
25// plot(x,f);
26// d=splin(x,f );
27// ...
28
29
1// bug461 30// bug461
2 31
3mode (-1); 32mode (-1);
diff --git a/tests/nonRegression/bug464.sci b/tests/nonRegression/bug464.sci
index f252acf..c1c9fb4 100644
--- a/tests/nonRegression/bug464.sci
+++ b/tests/nonRegression/bug464.sci
@@ -1,3 +1,24 @@
1// <-- Non-regression test for bug 464 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=464
5//
6// <-- Short Description -->
7// Bug Report Id: 12011200362191319
8// "1" is a double, and inttype is not defined for a double argument, according to the help. However, the error message is confusing; moreover, imho, it would be proper for inttype(double) to return 0, so as to be fully compatible with iconvert().
9//
10// On Scilab CVS with " inttype " function
11// The Error Messages are:
12// -->inttype(1)
13// !--error 44
14// ***th argument is incorrect
15//
16// Commands:
17//
18// Enrico Segre on Linux version RH 9 distribution RH 9 with gnome as window manager
19// Israel July 21, 2003 at 9:13:19
20
21
1// bug464 22// bug464
2 23
3mode (-1) 24mode (-1)
diff --git a/tests/nonRegression/bug467.sci b/tests/nonRegression/bug467.sci
index 5394c88..7728660 100644
--- a/tests/nonRegression/bug467.sci
+++ b/tests/nonRegression/bug467.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 467 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=467
5//
6// <-- Short Description -->
7// Bug Report Id: 12022200362265140
8// If you don't mind, where are read_dat_pcm or read_wavedat?
9//
10//
11//
12// On Scilab 2-7 with " wavread " function
13// The Error Messages are:
14// !--error 4
15// undefined variable : erro
16// at line 26 of function read_dat_pcm called by :
17// line 6 of function read_wavedat called by :
18// line 93 of function wavread called by :
19// [x,y] = wavread('c:\b.wav','size');
20//
21//
22// !--error 246
23// function not defined for given argument type(s)
24// Check arguments or define function %s_convstr for overloading
25// at line 28 of function wavread called by :
26// z = wavread('c:\b.wav',100000);
27// ...
28
29
1// bug467 30// bug467
2 31
3mode (-1) 32mode (-1)
diff --git a/tests/nonRegression/bug470.sci b/tests/nonRegression/bug470.sci
index 344ce8f..e721819 100644
--- a/tests/nonRegression/bug470.sci
+++ b/tests/nonRegression/bug470.sci
@@ -1,3 +1,23 @@
1// <-- Non-regression test for bug 470 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=470
5//
6// <-- Short Description -->
7// Bug Report Id: 120442003624162135
8// %i_i_i is undefined because /macros/percent/%i_i_i.sci is WRONG and defines function %i_i_s() instead. Changing s->i there (and eventually the comments) should fix it.
9//
10// On Scilab CVS with " %i_i_i " function
11// The Error Messages are:
12// !--error 4
13// undefined variable : %i_i_i
14//
15// Commands: a=int8(ones(2,2)); a(1,1)=uint8(2)
16//
17// Enrico Segre on Linux version RH9 distribution with as window manager
18// Israel July 24, 2003 at 16:21:35
19
20
1// bug470 21// bug470
2 22
3mode (-1) 23mode (-1)
diff --git a/tests/nonRegression/bug474.sci b/tests/nonRegression/bug474.sci
index 43168be..245cda3 100644
--- a/tests/nonRegression/bug474.sci
+++ b/tests/nonRegression/bug474.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 474 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=474
5//
6// <-- Short Description -->
7// Bug Report Id: 120442003624174827
8// k should be a 2 element vector!! like
9//
10// -->a=matrix(1:9,3,3); [m,k]=min(a)
11// k =
12//
13// ! 1. 1. !
14// m =
15//
16// 1.
17//
18// -->a=matrix(1:9,3,3); [m,k]=max(a)
19// k =
20//
21// ! 3. 3. !
22// m =
23//
24// 9.
25//
26//
27// ...
28
29
1// bug474 30// bug474
2 31
3mode (-1) 32mode (-1)
diff --git a/tests/nonRegression/bug475.sci b/tests/nonRegression/bug475.sci
index 6675a47..5e29d27 100644
--- a/tests/nonRegression/bug475.sci
+++ b/tests/nonRegression/bug475.sci
@@ -1,3 +1,30 @@
1// <-- Non-regression test for bug 475 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=475
5//
6// <-- Short Description -->
7// Bug Report Id: 120442003624175150
8// m=min(a) and m=max(a) give correct results
9//
10//
11// On Scilab CVS with " min(), max() " function
12// The Error Messages are:
13// !--error 59
14// incorrect # of outputs in the function
15// arguments are :
16// x
17//
18// Commands: a=hypermat([3,3,1],uint16(1:9)); [m,k]=max(a)
19//
20// or
21//
22// a=hypermat([3,3,1],uint16(1:9)); [m,k]=min(a)
23//
24// Enrico Segre on Linux version RH9 distribution with gnome as window manager
25// Israel July 24, 2003 at 17:51:50
26
27
1// bug475 28// bug475
2 29
3mode (-1) 30mode (-1)
diff --git a/tests/nonRegression/bug476.sci b/tests/nonRegression/bug476.sci
index d5a9ea9..f2d6eed 100644
--- a/tests/nonRegression/bug476.sci
+++ b/tests/nonRegression/bug476.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 476 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=476
5//
6// <-- Short Description -->
7// Bug Report Id: 120442003624185651
8//
9//
10// On Scilab CVS with " %hm_find " function
11// The Error Messages are:
12// wrong result
13// Commands: -->a=hypermat([3,3,1],int8(1:9));
14//
15// -->[i,j]=find(a==5)
16// j =
17//
18// 1.
19// i =
20//
21// 0.
22//
23// -->[i,j,k]=find(a==5)
24// k =
25//
26// 1.
27// ...
28
29
1// bug476 30// bug476
2 31
3mode (-1) 32mode (-1)
diff --git a/tests/nonRegression/bug477.sci b/tests/nonRegression/bug477.sci
index 1e65bc0..63b5752 100644
--- a/tests/nonRegression/bug477.sci
+++ b/tests/nonRegression/bug477.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 477 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=477
5//
6// <-- Short Description -->
7// Bug Report Id: 12044200362419444
8// %hm_maxi and %hm_mini are indeed currently defined with a _single_ return argument. IMHO they should be extended analogously to max, min and %hm_find, returning optionally either a vector of indices of the max/min.
9//
10// On Scilab CVS with " %hm_maxi, %hm_mini " function
11// The Error Messages are:
12// -->a=hypermat([3,3,1],1:9);
13//
14// -->[m]=max(a)
15// i =
16//
17// 9.
18//
19// -->[m,i]=max(a)
20// !--error 59
21// incorrect # of outputs in the function
22// arguments are :
23// x
24//
25// -->[m,i,j,k]=max(a)
26// !--error 78
27// ...
28
29
1// bug477 30// bug477
2 31
3mode (-1) 32mode (-1)
diff --git a/tests/nonRegression/bug480.sci b/tests/nonRegression/bug480.sci
index b8a33ff..9cc3762 100644
--- a/tests/nonRegression/bug480.sci
+++ b/tests/nonRegression/bug480.sci
@@ -1,3 +1,28 @@
1// <-- Non-regression test for bug 480 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=480
5//
6// <-- Short Description -->
7// Bug Report Id: 12070200362710754
8// [u]intN() and iconvert() do not handle hypermatrices. It would be nice if they would.
9// There is a workaround -
10// hypermat(a.dims,int8(a.entries)) - but it is somehow a detour.
11//
12// On Scilab CVS with " intN(), iconvert() " function
13// The Error Messages are:
14// -->a=hypermat([3,3,1],1:9);
15//
16// -->int8(a)
17// !--error 53
18// invalid input (waiting for real or complex matrix)
19//
20// Commands:
21//
22// Enrico Segre on Linux version distribution RH9 with as window manager
23// Israel July 27, 2003 at 10:7:54
24
25
1// bug480 26// bug480
2 27
3mode (-1) 28mode (-1)
diff --git a/tests/nonRegression/bug487.sci b/tests/nonRegression/bug487.sci
index 935907b..f9a7c59 100644
--- a/tests/nonRegression/bug487.sci
+++ b/tests/nonRegression/bug487.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 487 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=487
5//
6// <-- Short Description -->
7// Bug Report Id: 12195200378121313
8// According to the manual of "contour2d" a vector instead of a scalar should also be possible for the level values of the contourplot. But scilab-2.7 gives me an error.
9//
10// I must admit that I am not an experienced user concerning scilab. Maybe I have someting overseen, but I don't known what.
11//
12// Could you please help me?
13//
14// On Scilab 2.7 with " contour2d " function
15// The Error Messages are:
16// !--error 204
17// Argument 2, wrong type argument: expecting a scalar
18// at line 3 of function contour2d called by :
19// contour2d(rhogit,zgit,Jv, lvl, strf="041");
20//
21// Commands: lvl in contour2d is a vector
22//
23// lvl= -0.0003 + (1:10)*(0.0003-(-0.0003))/(10+1)
24//
25//
26// Kappen on Linux version 2.4 distribution Debian woody with gnome1.4 Sawfish as window manager
27// ...
28
29
1// bug487 30// bug487
2 31
3mode (-1); 32mode (-1);
diff --git a/tests/nonRegression/bug488.sci b/tests/nonRegression/bug488.sci
index d5ba1b7..8e2f4f4 100644
--- a/tests/nonRegression/bug488.sci
+++ b/tests/nonRegression/bug488.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 488 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=488
5//
6// <-- Short Description -->
7// Bug Report Id: 122062003795731
8// seems to have popped up in 2.7.2 - did not happen in 2.7.1
9//
10//
11//
12// On Scilab 2.7.2 with " Help menu or Editor Menu " function
13// The Error Messages are:
14// !--error 999
15// TK_EvalStr, Can't find a usable init.tcl in the following directories:
16// {C:/Program Files/Scilab-2.7.2\tcl\tcl8.3} {C:/Program Files/Scilab-2.7.2\tcl\tcl8.3} {C:/Program Files/Scilab-2.7.2
17// /tcl/tcl8.3} {C:/Program Files/Scilab-2.7.2/lib/tcl8.3}
18//
19//
20//
21// This probably means that Tcl wasn't installed properly.
22// at line 1
23// at line 13 of function tcltk_help called by :
24// line 22 of function run_help called by :
25// line 46 of function browsehelp called by :
26// line 10 of function help called by :
27// ...
28
29
1// bug488 30// bug488
2// 489, 491 492 496 duplicate 31// 489, 491 492 496 duplicate
3 32
diff --git a/tests/nonRegression/bug498.sci b/tests/nonRegression/bug498.sci
index 9feefa9..b48770b 100644
--- a/tests/nonRegression/bug498.sci
+++ b/tests/nonRegression/bug498.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 498 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=498
5//
6// <-- Short Description -->
7// Bug Report Id: 12361200372510504
8// I got another one!
9//
10// On Scilab CVS with " min(), uint() " function
11// The Error Messages are:
12// none but wrong result
13// Commands: --min(2,uint16(1)) >//WRONG
14// ans =
15//
16// 2.
17//
18// -->min(2,int16(1)) //OK
19// ans =
20//
21// 1.
22//
23// -->min(2,int8(1)) //OK
24// ans =
25//
26// 1.
27// ...
28
29
1// bug498 30// bug498
2 31
3mode (-1) 32mode (-1)
diff --git a/tests/nonRegression/bug502.sci b/tests/nonRegression/bug502.sci
index 01b3bfb..3630bf8 100644
--- a/tests/nonRegression/bug502.sci
+++ b/tests/nonRegression/bug502.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 502 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=502
5//
6// <-- Short Description -->
7// Bug Report Id: 12442200382102810
8// I compiled Scilab-2.7.
9//
10// On Scilab 2.7 with " GraphicWindow " function
11// The Error Messages are:
12// If the Graphic Window is "interfered" with,
13// for example moved, crosses path of another object
14// or even when graphic Window drop down box retracts,
15// then either the x-scale or y-scale of the 2d plot changes.
16// Commands: An example like this did not show problem:
17// x=1:0.1:25;
18// y=x.^2;
19// plot2d(x,y);
20// Problem occurred, for example, with this:
21// x=-25:0.1:25;
22// y=x.^2
23// plot2d(x,y)
24//
25//
26//
27// ...
28
29
1// bug502 30// bug502
2 31
3mode (-1); 32mode (-1);
diff --git a/tests/nonRegression/bug525.sci b/tests/nonRegression/bug525.sci
index 1fa6daf..7ff7456 100644
--- a/tests/nonRegression/bug525.sci
+++ b/tests/nonRegression/bug525.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 525 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=525
5//
6// <-- Short Description -->
7// Bug Report Id: 126632003824121343
8// error messages are strange to say least, scilab gets stymied after the second attempt.
9//
10// ps: I realize that execstr() is most likely responsible for all what I posted earlier today about ScilabEval on the newsgroup
11//
12// On Scilab CVS with " execstr() " function
13// The Error Messages are:
14// -->execstr("function foo")
15// !--error 17
16// stack size exceeded! (Use stacksize function to increase it)
17// Memory used for variables : 17086
18// Intermediate memory needed: 982925
19// Total memory available : 1000001
20// in execstr instruction called by :
21// execstr("function foo")
22//
23//
24// -->stacksize(2e6)
25//
26// -->execstr("function foo")
27// ...
28
29
1// exec("bug525.sce") 30// exec("bug525.sce")
2stacksize(2e6); 31stacksize(2e6);
3 32
diff --git a/tests/nonRegression/bug528.sci b/tests/nonRegression/bug528.sci
index 8aaa263..d540840 100644
--- a/tests/nonRegression/bug528.sci
+++ b/tests/nonRegression/bug528.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 528 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=528
5//
6// <-- Short Description -->
7// Bug Report Id: 12711200382914450
8// misleading error message (I think the error means: "hardcoded function cannot be translated in lingo")
9//
10// On Scilab CVS with " fun2string() " function
11// The Error Messages are:
12// -->fun2string(ones)
13// Warning: obsolete use of eye rand or ones
14// !
15//
16//
17// !--error 44
18// first argument is incorrect
19// at line 13 of function fun2string called by :
20// fun2string(ones)
21//
22//
23//
24// Commands: fun2string(ones)
25//
26// Enrico SEGRE on Linux version distribution RH9-i386 with as window manager
27// ...
28
29
1// exec("bug528.sce") 30// exec("bug528.sce")
2 31
3 32
diff --git a/tests/nonRegression/bug534.sci b/tests/nonRegression/bug534.sci
index 364b7a4..a5bfd18 100644
--- a/tests/nonRegression/bug534.sci
+++ b/tests/nonRegression/bug534.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 534 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=534
5//
6// <-- Short Description -->
7// Bug Report Id: 030132003929164110
8// In order to correct error in command "geomean" it is necessary to
9// 1) take the place of
10// gm=prod(x)^(1/length(a))
11// on
12// gm=prod(x)^(1/length(x))
13// and
14// 2) take the place of
15// gm=prod(x,orien).^(1/size(a,orien))
16// on
17// gm=prod(x,orien).^(1/size(x,orien))
18//
19//
20// On Scilab 2.7.2 with " statistics " function
21// The Error Messages are:
22// !--error 4
23// undefined variable : a
24// at line 25 of function geomean called by :
25// g=geomean(x);
26// Commands: x=[3 1 5];
27// ...
28
29
1// exec("bug534.sce") 30// exec("bug534.sce")
2 31
3 32
diff --git a/tests/nonRegression/bug539.sci b/tests/nonRegression/bug539.sci
index 021c79b..05a075a 100644
--- a/tests/nonRegression/bug539.sci
+++ b/tests/nonRegression/bug539.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 539 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=539
5//
6// <-- Short Description -->
7// Bug Report Id: 030612003103172113
8// Normally, as a procedure exists with an error, the message reports the calling tree, such as
9//
10// -->function foo(); a_wrong_string; endfunction
11//
12// -->foo()
13// !--error 4
14// undefined variable : a_wrong_string
15// at line 2 of function foo called by :
16// foo()
17//
18//
19// Here instead the "called by" is the last scilab command, which is pretty confusing. My claim is that the error message in the scilab window is wrong, and that is due to ScilabEval(). The use of scipad is just a quick way of accessing ScilabEval(), in order to evidence the bug; however scipad/execute would certyainly gain if the bug is corrected.
20// On Scilab CVS with " ScilabEval " function
21// The Error Messages are:
22// --> a_wrong_string,return,
23// !--error 4
24// undefined variable : a_wrong_string
25// in execstr instruction called by :
26// disp(" a_wrong_string"),return,
27// ...
28
29
1// exec("bug539.sce") 30// exec("bug539.sce")
2 31
3function foo(); a_wrong_string; endfunction 32function foo(); a_wrong_string; endfunction
diff --git a/tests/nonRegression/bug542.sci b/tests/nonRegression/bug542.sci
index 821769f..291f249 100644
--- a/tests/nonRegression/bug542.sci
+++ b/tests/nonRegression/bug542.sci
@@ -1,3 +1,22 @@
1// <-- Non-regression test for bug 542 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=542
5//
6// <-- Short Description -->
7// Bug Report Id: 031202003109123244
8// bitwise operations among integers used to be defined until last time I needed them. How come they aren't anymore?
9// On Scilab CVS with " &, | " function
10// The Error Messages are:
11// !--error 43
12// not implemented in scilab....
13//
14// Commands: int8(7) & int8(8)
15// Enrico SEGRE on Linux version RH9 distribution with as window manager
16// Israel
17// November 9, 2003 at 12:32:44
18
19
1//exec("/home/huynh/poubelle/testNonReg/bug542.sce") 20//exec("/home/huynh/poubelle/testNonReg/bug542.sce")
2 21
3 22
diff --git a/tests/nonRegression/bug545.sci b/tests/nonRegression/bug545.sci
index af16130..b5f32a3 100644
--- a/tests/nonRegression/bug545.sci
+++ b/tests/nonRegression/bug545.sci
@@ -1,3 +1,31 @@
1// <-- Non-regression test for bug 545 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=545
5//
6// <-- Short Description -->
7// Bug Report Id: 031202003109134720
8// This is obviously a conflict between a local variable ndims and the new function ndims().
9// I expect the same problem also in:
10//
11// macros/percent/%b_i_hm.sci
12// macros/percent/%hm_i_hm.sc
13// macros/percent/%p_i_hm.sci
14//
15// Wasn't this an already solved issue??
16// On Scilab CVS with " %i_i_hm " function
17// The Error Messages are:
18// Warning :redefining function: ndims
19// inside function: %i_i_hm
20//
21// Commands:
22// a=int8(hypermat({3 2 2}));b=hypermat({1 2 2});
23// a(1,:,:)=b
24// Enrico SEGRE on Linux version RH9 distribution with as window manager
25// Israel
26// November 9, 2003 at 13:47:20
27
28
1// Non-regression test file for bug 545 29// Non-regression test file for bug 545
2// Copyright INRIA 30// Copyright INRIA
3// Scilab Project 31// Scilab Project
diff --git a/tests/nonRegression/bug546.sci b/tests/nonRegression/bug546.sci
index f3a6380..2c590c9 100644
--- a/tests/nonRegression/bug546.sci
+++ b/tests/nonRegression/bug546.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 546 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=546
5//
6// <-- Short Description -->
7// Bug Report Id: 031202003109143249
8// Wasn't also this fixed?
9// On Scilab CVS with " > with int " function
10// The Error Messages are:
11// none but wrong result
12// Commands: int8(ones(10,10))>2
13// ans =
14//
15// ! T T T T F F F F F F !
16// ! T T T T F F F F F F !
17// ! T T T F F F F F F F !
18// ! T T T F F F F F F F !
19// ! T T T F F F F F F F !
20// ! T T T F F F F F F F !
21// ! T T T F F F F F F F !
22// ! T T T F F F F F F F !
23// ! T T T F F F F F F F !
24// ! T T T F F F F F F F !
25//
26// Enrico SEGRE on Linux version RH9 distribution with as window manager
27// ...
28
29
1//exec("bug546.sci") 30//exec("bug546.sci")
2 31
3 32
diff --git a/tests/nonRegression/bug548.sci b/tests/nonRegression/bug548.sci
index add775e..45915cb 100644
--- a/tests/nonRegression/bug548.sci
+++ b/tests/nonRegression/bug548.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 548 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=548
5//
6// <-- Short Description -->
7// Bug Report Id: 031642003101317047
8//
9//
10// the code itself is trivial, but the mesh i obtain is in format
11//
12// =| a1 a2
13// | b1 b2
14// | c1 c2 ....
15//
16// where (ai,bi,ci) should be the vertice indices of the mesh. For small XY datasets it behaves as expected, but for my dataset (700 points highly nonuniformly crowded) some edges are crossed 5 or even 7 times in the same sense, and most of the triangles arent as far apart as the whole region
17//
18// (try for example, mesh(1~3,27 and 28) (triangle 27 and 28: both are 2,5,.. and 2,5,..)
19//
20//
21//
22// On Scilab 2.7 with " mesh2d " function
23// The Error Messages are:
24// nothing, produces erroneous meshes for particular datasets
25// Commands: is too big because of dataset:
26//
27// ...
28
29
1// exec("e:\testNonReg\bug548.sce" ); 30// exec("e:\testNonReg\bug548.sce" );
2 31
3 32
diff --git a/tests/nonRegression/bug549.sci b/tests/nonRegression/bug549.sci
index 8b1e14e..a26795f 100644
--- a/tests/nonRegression/bug549.sci
+++ b/tests/nonRegression/bug549.sci
@@ -1,3 +1,24 @@
1// <-- Non-regression test for bug 549 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=549
5//
6// <-- Short Description -->
7// Bug Report Id: 0321220031018153842
8// Le problème n'intervient qu'avec la version Linux de Scilab !!!
9// On Scilab 2.7 with " csim " function
10// The Error Messages are:
11// warning
12// matrix is close to singular or badly scaled. rcond = 1.0000E-08
13// computing least squares solution. (see lsq)
14// Commands: G = syslin('c', (1-p)/((p+1)*(p+3)));
15// t = [0:1/100:8];
16// csim('step',t,G);
17// Allard Benoit on Linux version 3.0 / 9.1 distribution Debian / Mandrake with WMaker / KDE as window manager
18// France
19// November 18, 2003 at 15:38:42
20
21
1//exec("bug549.sci") 22//exec("bug549.sci")
2 23
3 24
diff --git a/tests/nonRegression/bug55.sci b/tests/nonRegression/bug55.sci
index f3148c6..b0bb5fa 100644
--- a/tests/nonRegression/bug55.sci
+++ b/tests/nonRegression/bug55.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 55 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=55
5//
6// <-- Short Description -->
7// The sci2exp function gives wrong result with the -%inf
8// value.
9// sci2exp(-%inf) = -Inf instead of the right result = -%inf
10
11
1// bug55 12// bug55
2 13
3mode (-1) 14mode (-1)
diff --git a/tests/nonRegression/bug553.sci b/tests/nonRegression/bug553.sci
index 20f968c..97ac353 100644
--- a/tests/nonRegression/bug553.sci
+++ b/tests/nonRegression/bug553.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 553 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=553
5//
6// <-- Short Description -->
7// Bug Report Id: 0327120031024153915
8// Funny behavior when an interpreted function has a function argument that is called within a loop -- the loop exits after the first pass.
9//
10// I don't know if it's related, but I just discovered that normal loop termination clears the loop variable:
11//
12// -->n=12;
13// n =
14// 12.
15//
16// -->for n=1:3; disp(n); end
17// 1.
18// 2.
19// 3.
20//
21// -->n
22// !--error 4
23// undefined variable : n
24//
25// Is this correct? I was expecting n == 3.
26// On Scilab 2.7.2 with " loopbug.sci, shown below " function
27// ...
28
29
1//exec("bug553.sci") 30//exec("bug553.sci")
2 31
3 32
diff --git a/tests/nonRegression/bug557.sci b/tests/nonRegression/bug557.sci
index 88aa578..79c3788 100644
--- a/tests/nonRegression/bug557.sci
+++ b/tests/nonRegression/bug557.sci
@@ -1,10 +1,21 @@
1// <-- Non-regression test for bug 557 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=557
5//
6// <-- Short Description -->
7// mprintf and diary don't work together
8after each character of the string generated by
9mprintf a newline character is inserted
10
11
1// Test de non-regression du bug 557 12// Test de non-regression du bug 557
2 13
3//**************************************************** 14//****************************************************
4// Author : Pierre MARECHAL 15// Author : Pierre MARECHAL
5// Date : 7 Fev 2005 16// Date : 7 Fev 2005
6//**************************************************** 17//****************************************************
7 18
8// Gnration du fichier de rfrence 19// Gnration du fichier de rfrence
9 20
10l = [" ";"-->mprintf(''hello world\n'')";"hello world";" ";"-->diary(0)"] 21l = [" ";"-->mprintf(''hello world\n'')";"hello world";" ";"-->diary(0)"]
@@ -30,5 +41,5 @@ dia=mgetl(u2);mclose(u2);
30if or(ref<>dia) then 41if or(ref<>dia) then
31 affich_result(%F,557); 42 affich_result(%F,557);
32else 43else
33 affich_result(%T,557); 44 affich_result(%T,557);
34end \ No newline at end of file 45end
diff --git a/tests/nonRegression/bug558.sci b/tests/nonRegression/bug558.sci
index 38ad6cf..61b2fd4 100644
--- a/tests/nonRegression/bug558.sci
+++ b/tests/nonRegression/bug558.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 558 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=558
5//
6// <-- Short Description -->
7// mtlb_save reports an unnecessary warning. This is due to
8// line 57 of SCI/macros/mtlb/mtlb_save.sci:
9//
10// clear('rhs','lhs','kk','k','err','mtlb_thefile','or');
11//
12// the last 'or' looks superfluous to me.
13
14
1// exec("bug558.sce"); 15// exec("bug558.sce");
2fileName="bug558.txt"; 16fileName="bug558.txt";
3diary(fileName); 17diary(fileName);
diff --git a/tests/nonRegression/bug562.sci b/tests/nonRegression/bug562.sci
index 23b2afa..d781899 100644
--- a/tests/nonRegression/bug562.sci
+++ b/tests/nonRegression/bug562.sci
@@ -1,3 +1,23 @@
1// <-- Non-regression test for bug 562 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=562
5//
6// <-- Short Description -->
7// Scilab crashes 99% of the time when the content of a
8// graphics window, that was put onto the clipboard, is pasted
9// e. g. into a Microsoft Word document.
10// This was already described in Bug Report 12044200362417155,
11// but the answer to that report concentrates only on GIFs.
12// The more severe problem is the crash of Scilab, not the
13// graphic file format!
14// Since we use Scilab heavily for measurement, we need to
15// document test results properly. The best way is to include
16// Scilab figures into text documents. Without the copy-past
17// cycle this is not working. It would help us a lot if this
18// bug was fixed!
19
20
1// exec("e:\testNonReg\bug562.sce") 21// exec("e:\testNonReg\bug562.sce")
2// bug interactive 22// bug interactive
3 23
diff --git a/tests/nonRegression/bug564.sci b/tests/nonRegression/bug564.sci
index 7f8c1cd..a741692 100644
--- a/tests/nonRegression/bug564.sci
+++ b/tests/nonRegression/bug564.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 564 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=564
5//
6// <-- Short Description -->
7// CVS version of Scilab:
8// using break when it is not called for creates confusing
9// error messages.
10// In the following code the breaks are useless, they should do
11// nothing
12// but they create uncomprehensible error messages (this code
13// is included
14// in a macro which is execed)
15// if ok then
16// scs_m.objs(k)=XX
17// disp(1)
18// edited=%t;
19// disp(2)
20// needcompile=4
21// disp(3)
22// Cmenu='Replot';
23// disp(4),disp(Cmenu)
24// break
25// else
26// Cmenu='Open/Set'
27// ...
28
29
1// Non-regression test file for bug 564 30// Non-regression test file for bug 564
2// Copyright INRIA 31// Copyright INRIA
3 32
diff --git a/tests/nonRegression/bug566.sci b/tests/nonRegression/bug566.sci
index 69ca394..ef9743e 100644
--- a/tests/nonRegression/bug566.sci
+++ b/tests/nonRegression/bug566.sci
@@ -1,3 +1,12 @@
1// <-- Non-regression test for bug 566 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=566
5//
6// <-- Short Description -->
7// a(2,3,2)='x' returns an empty matrix.
8
9
1// exec("bug566.sce"); 10// exec("bug566.sce");
2 11
3clear; 12clear;
diff --git a/tests/nonRegression/bug567.sci b/tests/nonRegression/bug567.sci
index d67a927..2e9dfc0 100644
--- a/tests/nonRegression/bug567.sci
+++ b/tests/nonRegression/bug567.sci
@@ -1,3 +1,16 @@
1// <-- Non-regression test for bug 567 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=567
5//
6// <-- Short Description -->
7// When I accidentally closed scilab while scipad editor was
8// open, scipad did not ask to save the changes. This is a
9// serious bug since all unsaved changes were lost. The best
10// solution might be to leave the editor window open as a
11// separate application.
12
13
1// exec("e:\testNonReg\bug567.sce") 14// exec("e:\testNonReg\bug567.sce")
2// bug interactive 15// bug interactive
3 16
diff --git a/tests/nonRegression/bug568.sci b/tests/nonRegression/bug568.sci
index 050b837..62a1e6e 100644
--- a/tests/nonRegression/bug568.sci
+++ b/tests/nonRegression/bug568.sci
@@ -1,3 +1,20 @@
1// <-- Non-regression test for bug 568 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=568
5//
6// <-- Short Description -->
7// when I have defined a variable like this :
8// -->aa=zeros(4,4,11);
9// I can't insert a part of this hypermatrix in a indexed
10// undefined variable bb.
11// -->bb(1,1,:)=aa(1,1,:) ;
12// This appears in all operating system and version 2.7, 2.7.2
13// and 2.8 alpha
14//
15// fixed in CVS version
16
17
1// exec( "/home/huynh/poubelle/testNonReg/bug568.sce"); 18// exec( "/home/huynh/poubelle/testNonReg/bug568.sce");
2// exec("e:\testNonReg\bug568.sce"); 19// exec("e:\testNonReg\bug568.sce");
3 20
diff --git a/tests/nonRegression/bug569.sci b/tests/nonRegression/bug569.sci
index 969a25c..5f797af 100644
--- a/tests/nonRegression/bug569.sci
+++ b/tests/nonRegression/bug569.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 569 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=569
5//
6// <-- Short Description -->
7// contour2d does not work for me; however, contour works as
8// expected of contour2d: 2D plot of a set of level lines.
9
10
1// exec("bug569.sce") 11// exec("bug569.sce")
2 12
3mode (-1); 13mode (-1);
diff --git a/tests/nonRegression/bug570.sci b/tests/nonRegression/bug570.sci
index 6b51518..6c71596 100644
--- a/tests/nonRegression/bug570.sci
+++ b/tests/nonRegression/bug570.sci
@@ -1,3 +1,13 @@
1// <-- Non-regression test for bug 570 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=570
5//
6// <-- Short Description -->
7// missing overload for string hypermatrix insertion?
8// See bug 566
9
10
1// exec( "bug570.sce"); 11// exec( "bug570.sce");
2 12
3 13
diff --git a/tests/nonRegression/bug573.sci b/tests/nonRegression/bug573.sci
index 7ae246c..042fece 100644
--- a/tests/nonRegression/bug573.sci
+++ b/tests/nonRegression/bug573.sci
@@ -1,3 +1,26 @@
1// <-- Non-regression test for bug 573 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=573
5//
6// <-- Short Description -->
7// On Win2000 the functions tk_getdir() and tk_getfile() do
8// not accept directory names that contain space characters.
9// Given the existing path:
10// "C:/has space"
11//
12// tk_getdir("C:/has space") generates an error.
13// tk_getfile("*","C:/has space") gnerates an error.
14// The error appears to be in TK rather than Scilab itself.
15//
16// A partial work-around is:
17// chdir("C:/has space")
18// tk_getdir()
19//
20// The function xgetfile() does NOT have this problem.
21// Unfortunately there is no xgetdir() function!
22
23
1// exec("e:\testNonReg\bug573.sce") 24// exec("e:\testNonReg\bug573.sce")
2 25
3disp("windows only, selection a directory and click OK"); 26disp("windows only, selection a directory and click OK");
diff --git a/tests/nonRegression/bug575.sci b/tests/nonRegression/bug575.sci
index 8a33f95..93fcffe 100644
--- a/tests/nonRegression/bug575.sci
+++ b/tests/nonRegression/bug575.sci
@@ -1,3 +1,19 @@
1// <-- Non-regression test for bug 575 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=575
5//
6// <-- Short Description -->
7// [m(1),n(1)]=max([1,3,1]) is not possible.
8// But this commande is possible :
9// m(1)=max([1,3,1])
10// m =
11//
12// 3.
13//
14// I don't if it is really a bug, but MATLAB does :o( ?
15
16
1// exec( "bug575.sci"); 17// exec( "bug575.sci");
2// 18//
3 19
diff --git a/tests/nonRegression/bug576.sci b/tests/nonRegression/bug576.sci
index 1fc0c3b..6600b3f 100644
--- a/tests/nonRegression/bug576.sci
+++ b/tests/nonRegression/bug576.sci
@@ -1,3 +1,14 @@
1// <-- Non-regression test for bug 576 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=576
5//
6// <-- Short Description -->
7// input() function of scilab cvs doesn't work like scilab 2.7.x
8// when the ouput argument is empty, the ouput is not detected
9// as an empty result ?
10
11
1// exec("bug576.sce") 12// exec("bug576.sce")
2 13
3disp("press enter"); 14disp("press enter");
diff --git a/tests/nonRegression/bug577.sci b/tests/nonRegression/bug577.sci
index 02ed9c4..c6141e4 100644
--- a/tests/nonRegression/bug577.sci
+++ b/tests/nonRegression/bug577.sci
@@ -1,3 +1,15 @@
1// <-- Non-regression test for bug 577 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=577
5//
6// <-- Short Description -->
7// It can't save imaginary in MATLAB format (SCILAB 2.7.x and
8// cvs version)
9//
10// I can reproduce the bug with integers data type not with imaginary
11
12
1 13
2// exec("bug577.sci"); 14// exec("bug577.sci");
3 15
diff --git a/tests/nonRegression/bug584.sci b/tests/nonRegression/bug584.sci
index 667f83a..6f08a0e 100644
--- a/tests/nonRegression/bug584.sci
+++ b/tests/nonRegression/bug584.sci
@@ -1,3 +1,16 @@
1// <-- Non-regression test for bug 584 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=584
5//
6// <-- Short Description -->
7// logspace does not return good max value ! try this :
8// format('e',32);logspace( 3, 3, 1 )
9// ans =
10//
11// 1.0000000000000007000000000E+03
12
13
1// Non-regression test file for bug 584 14// Non-regression test file for bug 584
2// Copyright INRIA 15// Copyright INRIA
3 16
diff --git a/tests/nonRegression/bug600.sci b/tests/nonRegression/bug600.sci
index 128e12a..51722e5 100644
--- a/tests/nonRegression/bug600.sci
+++ b/tests/nonRegression/bug600.sci
@@ -1,3 +1,17 @@
1// <-- Non-regression test for bug 600 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=600
5//
6// <-- Short Description -->
7// I am not able to hear the sounds using either the 'Sound'
8// or 'playsnd' functions.
9//
10// The sound card is working properly with all other
11// softwares.all other wave funstions are working such as
12// wavread loadwave etc...
13
14
1// exec("e:\testNonReg\bug600.sce") 15// exec("e:\testNonReg\bug600.sce")
2 16
3 17
diff --git a/tests/nonRegression/bug604.sci b/tests/nonRegression/bug604.sci
index dca8b9f..1ca46de 100644
--- a/tests/nonRegression/bug604.sci
+++ b/tests/nonRegression/bug604.sci
@@ -1,3 +1,32 @@
1// <-- Non-regression test for bug 604 -->
2//
3// <-- Bugzilla URL -->
4// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=604
5//
6// <-- Short Description -->
7// -->g=9.81;m=2;l=1;K=10;I=12;
8// -->M=[g*m*l,I+2m*L^2,K/l;0,1,0;0,0,1]
9//
10// returns a VERY confusing error message.
11//
12// The bug appears also in
13// -->[2m] which returns
14// ans =
15//
16// ! 2. 2. !
17// while
18// -->2m returns
19// !--error 40
20// waiting for end of command
21// and
22// -->(2m) returns
23// !--error 3
24// waiting for right parenthesis
25// as well as
26// -->(2m))))))))))))
27// ...
28
29
1//exec("bug604.sci") 30//exec("bug604.sci")
2// 31//
3g=9.81;m=2;l=1;K=10;I=12; 32g=9.81;m=2;l=1;K=10;I=12;
diff --git a/tests/nonRegression/bug608.sci b/tests/nonRegression/bug608.sci
index 4edbe46..897919d 100644
--- a/tests/nonRegression/bug608.sci
+++ b/tests/nonRegression/bug608.sci
@@ -1,3 +1,21 @@