Changeset: 1b1dcec5709d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1b1dcec5709d
Modified Files:
        testing/Mtest.py.in
Branch: default
Log Message:

Add TSTDB to environment when running the bits check.
This way, you can use Mtest.py with --dbg using a call to valgrind
that uses a --log-file option with %q{TSTDB} in the name to
differentiate the different calls to mserver5.  (I suggest to also add
a %p to the --log-file argument.)


diffs (11 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -1605,6 +1605,7 @@ def GetBitsAndModsAndThreads(env) :
     except OSError:
         pass
     cmd.append('--dbpath=%s' % dbpath)
+    os.environ['TSTDB'] = TSTPREF
     if env.get('MULTIFARM'):
         cmd.append('--dbextra=%s' % os.path.join(env['GDK_DBFARM'], TSTPREF + 
'_transient'))
         shutil.rmtree(os.path.join(env['GDK_DBFARM'], TSTPREF + '_transient'),
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to