Changeset: be7753737460 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=be7753737460
Modified Files:
monetdb5/extras/pyapi/Benchmarks/pyapi_test.sh
monetdb5/extras/pyapi/pyapi.c
Branch: pyapi
Log Message:
Minor fixes for testing.
diffs (30 lines):
diff --git a/monetdb5/extras/pyapi/Benchmarks/pyapi_test.sh
b/monetdb5/extras/pyapi/Benchmarks/pyapi_test.sh
--- a/monetdb5/extras/pyapi/Benchmarks/pyapi_test.sh
+++ b/monetdb5/extras/pyapi/Benchmarks/pyapi_test.sh
@@ -1,7 +1,7 @@
# The base directory of testing, a new folder is created in this base
directory [$PYAPI_TEST_DIR], and everything is done in that new folder
-export PYAPI_BASE_DIR=/tmp
+export PYAPI_BASE_DIR=/scratch/raasveld
# The terminal to start mserver with, examples are gnome-terminal, xterm,
konsole
export TERMINAL=x-terminal-emulator
# Port used by the MSERVER
@@ -815,5 +815,5 @@ function run_mongodb() {
}
-export PYAPI_TESTFILE=/tmp/monetdb_testing.py
+export PYAPI_TESTFILE=/local/raasveld/monetdb_testing.py
#export LD_LIBRARY_PATH=/local/raasveld/build/lib
diff --git a/monetdb5/extras/pyapi/pyapi.c b/monetdb5/extras/pyapi/pyapi.c
--- a/monetdb5/extras/pyapi/pyapi.c
+++ b/monetdb5/extras/pyapi/pyapi.c
@@ -396,6 +396,7 @@ str PyAPIeval(Client cntxt, MalBlkPtr mb
bool child_process = false;
#endif
#ifdef _PYAPI_TESTING_
+ size_t iu = 0;
time_storage start_time, end_time;
bool disable_testing = false;
unsigned long long peak_memory_usage = 0;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list