Changeset: a2fd45ddf23b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a2fd45ddf23b
Modified Files:
monetdb5/mal/Tests/tst272.mal
monetdb5/mal/Tests/tst275.mal
Branch: profiler
Log Message:
Adjusted tests
diffs (50 lines):
diff --git a/monetdb5/mal/Tests/tst272.mal b/monetdb5/mal/Tests/tst272.mal
--- a/monetdb5/mal/Tests/tst272.mal
+++ b/monetdb5/mal/Tests/tst272.mal
@@ -7,7 +7,7 @@ b:= bat.new(:oid,:int);
#focussed on integers
#it includes insertions,deletions,selections, and joins.
-profiler.stethoscope(0);
+profiler.start();
err := bat.append(b,15);
err := bat.append(b,4);
n0 := calc.int(nil);
@@ -24,10 +24,9 @@ io.print(b);
io.print(b,b,b);
profiler.stop();
io.printf("#~BeginVariableOutput~#\n");
-t:= profiler.getTrace("ticks");
+#t:= profiler.getTrace("ticks");
#io.print(t);
-s:= profiler.getTrace("stmt");
+#s:= profiler.getTrace("stmt");
#io.print(s);
#io.print(t,s);
io.printf("#~EndVariableOutput~#\n");
-profiler.cleanup();
diff --git a/monetdb5/mal/Tests/tst275.mal b/monetdb5/mal/Tests/tst275.mal
--- a/monetdb5/mal/Tests/tst275.mal
+++ b/monetdb5/mal/Tests/tst275.mal
@@ -1,7 +1,4 @@
#Same as tst200, but includes testing of the profiler
-
-profiler.openStream("/tmp/MonetEvents");
-
o:= calc.oid(20000000);
calc.setoid(o);
#test basic functionality of the BAT library.
@@ -14,7 +11,7 @@ io.printf("#~BeginVariableOutput~#\n");
io.print(bk,bv);
io.printf("#~EndVariableOutput~#\n");
-profiler.stethoscope(0);
+profiler.start();
err := bat.append(b,15);
err := bat.append(b,4);
n0 := calc.int(nil);
@@ -30,4 +27,3 @@ err := bat.append(b,81);
io.print(b);
io.print(b,b,b);
profiler.stop();
-profiler.cleanup();
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list