|
|
| 32 |
raise Utils.WafError("Options --command-template and --valgrind are conflicting") |
32 |
raise Utils.WafError("Options --command-template and --valgrind are conflicting") |
| 33 |
if not env['VALGRIND']: |
33 |
if not env['VALGRIND']: |
| 34 |
raise Utils.WafError("valgrind is not installed") |
34 |
raise Utils.WafError("valgrind is not installed") |
| 35 |
cmd = env['VALGRIND'] + " --leak-check=full --error-exitcode=1 %s" |
35 |
cmd = "./valgrind-wrapper.py %s" |
| 36 |
else: |
36 |
else: |
| 37 |
cmd = Options.options.command_template or '%s' |
37 |
cmd = Options.options.command_template or '%s' |
| 38 |
for arg in arguments: |
38 |
for arg in arguments: |