Changeset: 368c18f0e44b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=368c18f0e44b
Added Files:
        sql/backends/monet5/gsl/Tests/gsl00.malC
Removed Files:
        sql/backends/monet5/gsl/Tests/gsl00.mal
Modified Files:
        sql/backends/monet5/gsl/Tests/gsl00.stable.out
Branch: Oct2014
Log Message:

Run test through mclient so that we can use the -ftest formatter.
Using -ftest has the big advantage of rounding doubles to less than
the full precision.  The full precision is useless because of tiny
rounding errors.


diffs (35 lines):

diff --git a/sql/backends/monet5/gsl/Tests/gsl00.mal 
b/sql/backends/monet5/gsl/Tests/gsl00.malC
rename from sql/backends/monet5/gsl/Tests/gsl00.mal
rename to sql/backends/monet5/gsl/Tests/gsl00.malC
diff --git a/sql/backends/monet5/gsl/Tests/gsl00.stable.out 
b/sql/backends/monet5/gsl/Tests/gsl00.stable.out
--- a/sql/backends/monet5/gsl/Tests/gsl00.stable.out
+++ b/sql/backends/monet5/gsl/Tests/gsl00.stable.out
@@ -18,15 +18,18 @@ stdout of test 'gsl00` in directory 'sql
 # MonetDB/GIS module loaded
 # MonetDB/JAQL module loaded
 # MonetDB/SQL module loaded
-function user.main():void;
-    a := 20:dbl;
-    b := 5:dbl;
-    c := gsl.chi2prob(a,b);
-    io.print(c);
-end main;
-[ 0.0012497305630313768 ]
+# MonetDB/R   module loaded
 
-# 15:55:26 >  
-# 15:55:26 >  "Done."
-# 15:55:26 >  
+Ready.
 
+# 17:18:32 >  
+# 17:18:32 >  "mclient" "-lmal" "-ftest" "-Eutf-8" "-i" "-e" 
"--host=/var/tmp/mtest-13823" "--port=38735"
+# 17:18:32 >  
+
+#io.print(c);
+[ 0.001249730563       ]
+
+# 17:18:32 >  
+# 17:18:32 >  "Done."
+# 17:18:32 >  
+
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to