mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix jstests.py --valgrind-args flag. (r=jorendorff)
This commit is contained in:
parent
c80c81124a
commit
1d03ae0f11
@ -242,13 +242,13 @@ if __name__ == '__main__':
|
||||
if OPTIONS.valgrind:
|
||||
print >> sys.stderr, "--debug and --valgrind options are mutually exclusive"
|
||||
sys.exit(2)
|
||||
debugger_prefix = [ 'gdb', '-q', '--args' ]
|
||||
debugger_prefix = ['gdb', '-q', '--args']
|
||||
elif OPTIONS.valgrind:
|
||||
debugger_prefix = [ 'valgrind' ]
|
||||
debugger_prefix = ['valgrind']
|
||||
if os.uname()[0] == 'Darwin':
|
||||
debugger_prefix += ['--dsymutil=yes']
|
||||
debugger_prefix.append('--dsymutil=yes')
|
||||
if OPTIONS.valgrind_args:
|
||||
debugger_prefix += [ valgrind_args ]
|
||||
debugger_prefix.append(OPTIONS.valgrind_args)
|
||||
# Running under valgrind is not very useful if we don't show results.
|
||||
OPTIONS.show_output = True
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user