Changeset: 507352872610 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=507352872610
Removed Files:
monetdb5/modules/mal/Tests/compress.mal
monetdb5/modules/mal/Tests/compress.stable.err
monetdb5/modules/mal/Tests/compress.stable.out
Branch: default
Log Message:
remove superflous tests
diffs (209 lines):
diff --git a/monetdb5/modules/mal/Tests/compress.mal
b/monetdb5/modules/mal/Tests/compress.mal
deleted file mode 100644
--- a/monetdb5/modules/mal/Tests/compress.mal
+++ /dev/null
@@ -1,48 +0,0 @@
-#test some compression work
-module sql;
-function sql.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2];
- return bat.new(:any_1,:any_2);
-end bind;
-
-
-t0:= alarm.usec();
-b:= bat.new(:oid,:lng);
-
-INT_MAX := 2147483647;
-dbgmsk_restore := mdb.getDebug();
-dbgmsk_unset := 8+8388608;
-dbgmsk_keep := calc.xor(INT_MAX,dbgmsk_unset);
-dbgmsk_set := calc.and(dbgmsk_restore,dbgmsk_keep);
-mdb.setDebug(dbgmsk_set);
-
-r:= mmath.srand(0);
-barrier i:= 0:lng;
- k:= mmath.rand();
- l:= calc.lng(k);
- bat.append(b,l);
- redo i:= iterator.next(1:lng,100000:lng);
-exit i;
-
-mdb.setDebug(dbgmsk_restore);
-
-s:= aggr.sum(b);
-#io.print(s);
-
-bbp.compress(b,"/tmp/bx");
-zz:= bbp.decompress(b,"/tmp/bx");
-c:= aggr.count(zz);
-io.print(c);
-ss:= aggr.sum(zz);
-s:= ss-s;
-#io.print(ss);
-io.printf("Checksum difference should be zero %f\n",s);
-
-#bbp.truncate(b);
-#bbp.expand(b);
-
-function qry();
- b:bat[:oid,:int]:= sql.bind("sys","tab","col",0);
-end qry;
-optimizer.compression("user","qry");
-mdb.list("user","qry");
-
diff --git a/monetdb5/modules/mal/Tests/compress.stable.err
b/monetdb5/modules/mal/Tests/compress.stable.err
deleted file mode 100644
--- a/monetdb5/modules/mal/Tests/compress.stable.err
+++ /dev/null
@@ -1,82 +0,0 @@
-stderr of test 'compress` in directory 'monetdb5/modules/mal` itself:
-
-
-# 10:34:07 >
-# 10:34:07 > mserver5 "--config=/ufs/mk/current//Linux/etc/monetdb5.conf"
--debug=10 --set gdk_nr_threads=0 --set
"monet_mod_path=/ufs/mk/current//Linux/lib/MonetDB5:/ufs/mk/current//Linux/lib/MonetDB5/lib:/ufs/mk/current//Linux/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/mk/current//Linux/var/MonetDB5/dbfarm" --set
mapi_open=true --set xrpc_open=true --set mapi_port=34464 --set xrpc_port=43765
--set monet_prompt= --trace --dbname=mTests_src_modules_mal compress.mal
-# 10:34:07 >
-
-# builtin opt gdk_arch = 64bitx86_64-unknown-linux-gnu
-# builtin opt gdk_version = 1.37.0
-# builtin opt prefix = /ufs/mk/current//Linux
-# builtin opt exec_prefix = ${prefix}
-# builtin opt gdk_dbname = tst
-# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
-# builtin opt gdk_debug = 8
-# builtin opt gdk_alloc_map = yes
-# builtin opt gdk_vmtrim = yes
-# builtin opt monet_admin = adm
-# builtin opt monet_prompt = >
-# builtin opt monet_welcome = yes
-# builtin opt monet_mod_path = ${exec_prefix}/lib/MonetDB
-# builtin opt monet_daemon = yes
-# builtin opt host = localhost
-# builtin opt mapi_port = 50000
-# builtin opt mapi_noheaders = no
-# builtin opt mapi_debug = 0
-# builtin opt mapi_clients = 2
-# builtin opt sql_debug = 0
-# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
-# builtin opt standoff_start = start
-# builtin opt standoff_end = end
-# config opt prefix = /ufs/mk/current//Linux
-# config opt config = ${prefix}/etc/monetdb5.conf
-# config opt prefix = /ufs/mk/current//Linux
-# config opt exec_prefix = ${prefix}
-# config opt gdk_dbfarm = ${prefix}/var/MonetDB5/dbfarm
-# config opt gdk_dbname = demo
-# config opt gdk_alloc_map = no
-# config opt gdk_embedded = no
-# config opt gdk_debug = 0
-# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB5:${exec_prefix}/lib/MonetDB5/lib:${exec_prefix}/lib/MonetDB5/bin
-# config opt monet_daemon = no
-# config opt monet_welcome = yes
-# config opt mero_msglog = ${prefix}/var/log/MonetDB/merovingian.log
-# config opt mero_errlog = ${prefix}/var/log/MonetDB/merovingian.log
-# config opt mero_pidfile = ${prefix}/var/run/MonetDB/merovingian.pid
-# config opt mero_controlport = 50001
-# config opt mal_init = ${exec_prefix}/lib/MonetDB5/mal_init.mal
-# config opt mal_listing = 2
-# config opt mapi_port = 50000
-# config opt mapi_autosense = false
-# config opt mapi_open = false
-# config opt sql_optimizer = default_pipe
-# config opt default_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mitosis,mergetable,deadcode,commonTerms,joinPath,reorder,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt nov2009_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt replication_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,dataflow,history,replication,multiplex,garbageCollector
-# config opt accumulator_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,accumulators,dataflow,history,multiplex,garbageCollector
-# config opt recycler_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,deadcode,constants,commonTerms,joinPath,deadcode,recycle,reduce,dataflow,history,multiplex,garbageCollector
-# config opt cracker_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,selcrack,deadcode,constants,commonTerms,joinPath,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt sidcrack_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,sidcrack,deadcode,constants,commonTerms,joinPath,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt datacell_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,deadcode,constants,commonTerms,joinPath,datacell,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt octopus_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mitosis,mergetable,deadcode,constants,commonTerms,joinPath,octopus,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt datacyclotron_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,datacyclotron,mergetable,deadcode,constants,commonTerms,joinPath,reorder,deadcode,reduce,dataflow,history,replication,multiplex,garbageCollector
-# config opt derive_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,derivePath,joinPath,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt dictionary_pipe =
inline,remap,dictionary,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,dataflow,history,multiplex,garbageCollector
-# config opt compression_pipe =
inline,remap,evaluate,costModel,coercions,emptySet,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,dataflow,compression,dataflow,history,multiplex,garbageCollector
-# cmdline opt config = /ufs/mk/current//Linux/etc/monetdb5.conf
-# cmdline opt gdk_nr_threads = 0
-# cmdline opt monet_mod_path =
/ufs/mk/current//Linux/lib/MonetDB5:/ufs/mk/current//Linux/lib/MonetDB5/lib:/ufs/mk/current//Linux/lib/MonetDB5/bin
-# cmdline opt gdk_dbfarm = /ufs/mk/current//Linux/var/MonetDB5/dbfarm
-# cmdline opt mapi_open = true
-# cmdline opt xrpc_open = true
-# cmdline opt mapi_port = 34464
-# cmdline opt xrpc_port = 43765
-# cmdline opt monet_prompt =
-# cmdline opt gdk_dbname = mTests_src_modules_mal
-#warning: please don't forget to set your vault key!
-#(see /ufs/mk/current//Linux/etc/monetdb5.conf)
-
-# 10:34:07 >
-# 10:34:07 > Done.
-# 10:34:07 >
-
diff --git a/monetdb5/modules/mal/Tests/compress.stable.out
b/monetdb5/modules/mal/Tests/compress.stable.out
deleted file mode 100644
--- a/monetdb5/modules/mal/Tests/compress.stable.out
+++ /dev/null
@@ -1,64 +0,0 @@
-stdout of test 'compress` in directory 'monetdb5/modules/mal` itself:
-
-
-# 10:34:07 >
-# 10:34:07 > mserver5 "--config=/ufs/mk/current//Linux/etc/monetdb5.conf"
--debug=10 --set gdk_nr_threads=0 --set
"monet_mod_path=/ufs/mk/current//Linux/lib/MonetDB5:/ufs/mk/current//Linux/lib/MonetDB5/lib:/ufs/mk/current//Linux/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/mk/current//Linux/var/MonetDB5/dbfarm" --set
mapi_open=true --set xrpc_open=true --set mapi_port=34464 --set xrpc_port=43765
--set monet_prompt= --trace --dbname=mTests_src_modules_mal compress.mal
-# 10:34:07 >
-
-# MonetDB server v5.19.0, based on kernel v1.37.0
-# Serving database 'mTests_src_modules_mal', using 4 threads
-# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically
linked
-# Found 7.751 GiB available main-memory.
-# Copyright (c) 1993-July 2008 CWI.
-# Copyright (c) August 2008-2014 MonetDB B.V., all rights reserved
-# Visit http://monetdb.cwi.nl/ for further information
-# Listening for connection requests on mapi:monetdb://eir.ins.cwi.nl:34464/
-function sql.bind(s:str,t:str,c:str,i:int):bat[:any_1,:any_2];
- return X_5 := bat.new(:any_1,:any_2);
-end bind;
-function sql.qry():void;
- b:bat[:oid,:int] := sql.bind("sys","tab","col",0);
-end qry;
-function user.main():void;
-#test some compression work
- t0 := alarm.usec();
- b := bat.new(:oid,:lng);
- INT_MAX := 2147483647;
- dbgmsk_restore := mdb.getDebug();
- dbgmsk_unset := calc.+(8,8388608);
- dbgmsk_keep := calc.xor(INT_MAX,dbgmsk_unset);
- dbgmsk_set := calc.and(dbgmsk_restore,dbgmsk_keep);
- mdb.setDebug(dbgmsk_set);
- r := mmath.srand(0);
-barrier i := 0:lng;
- k := mmath.rand();
- l := calc.lng(k);
- bat.append(b,l);
- redo i := iterator.next(1:lng,100000:lng);
-exit i;
- mdb.setDebug(dbgmsk_restore);
- s := aggr.sum(b);
-#io.print(s);
- bbp.compress(b,"/tmp/bx");
- zz := bbp.decompress(b,"/tmp/bx");
- c := aggr.count(zz);
- io.print(c);
- ss := aggr.sum(zz);
- s := calc.-(ss,s);
-#io.print(ss);
- io.printf("Checksum difference should be zero %f\n",s);
-#bbp.truncate(b);
-#bbp.expand(b);
- mdb.list("user","qry");
-end main;
-[ 100000 ]
-Checksum difference should be zero 0.000000
-function sql.qry():void;
- X_6:bat[:oid,:int] := sql.bind("sys","tab","col",0);
- b:bat[:oid,:int] := bbp.decompress(X_6,"sys_tab_col_0");
-end qry;
-
-# 10:34:07 >
-# 10:34:07 > Done.
-# 10:34:07 >
-
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list