Changeset: 8959351c5010 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8959351c5010
Modified Files:
testing/Mtest.py.in
Branch: default
Log Message:
We don't want a warning from cdb if the symbols directory does not exist.
diffs (28 lines):
diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2360,18 +2360,20 @@ def killProc(proc, outfile = None, cmd =
except ValueError:
print 'cannot write timeout message',cmd
if os.name == "nt":
+ sym = ''
if os.path.exists(r'c:\Program Files\Debugging Tools for Windows
(x64)\cdb.exe'):
cdb = r'c:\Program Files\Debugging Tools for Windows (x64)\cdb.exe'
- sym = r'c:\Symbols'
+ if os.path.exists(r'c:\Symbols'):
+ sym = r'c:\Symbols;'
elif os.path.exists(r'c:\Program Files\Debugging Tools for Windows
(x86)\cdb.exe'):
cdb = r'c:\Program Files\Debugging Tools for Windows (x86)\cdb.exe'
- sym = r'c:\WINDOWS\Symbols'
+ if os.path.exists('c:\WINDOWS\Symbols'):
+ sym = r'c:\WINDOWS\Symbols;'
else:
cdb = None
- sym = None
if cdb:
p = subprocess.Popen([cdb, '-pv', '-p', str(proc.pid),
- '-y',
'%s;cache*;srv*http://msdl.microsoft.com/download/symbols' % sym, '-lines',
'-c', '~*kP;!locks;q'],
+ '-y',
'%scache*;srv*http://msdl.microsoft.com/download/symbols' % sym, '-lines',
'-c', '~*kP;!locks;q'],
stdout = subprocess.PIPE)
out, err = p.communicate()
else:
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list