Closed
Bug 1181495
Opened 10 years ago
Closed 10 years ago
The --debugger_args require a real shell to parse them (can't parse the '=' character)'
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1151124
People
(Reporter: nical, Unassigned)
Details
I am running into this while trying to use valgrind in with unit tests.
The mach command I am trying to use is similar to the one suggested for mochitests here: https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Valgrind (with gtest instead of mochitest).
./mach gtest --debugger="valgrind" --debugger-args="--smc-check=all-non-file --vex-iropt-register-updates=allregs-at-mem-access" Layers.UserData
0:00.09 /usr/bin/make -C testing/gtest -j8 -s -w gtest
0:00.11 make: Entering directory `/home/nical/dev/mozilla/objdir/valgrind/testing/gtest'
0:00.12 make[1]: Entering directory `/home/nical/dev/mozilla/objdir/valgrind/toolkit/library'
0:00.12 make[1]: Leaving directory `/home/nical/dev/mozilla/objdir/valgrind/toolkit/library'
0:00.12 make: Leaving directory `/home/nical/dev/mozilla/objdir/valgrind/testing/gtest'
The --debugger_args you passed require a real shell to parse them.
(We can't handle the '=' character.)
Error running mach:
['gtest', '--debugger=valgrind', '--debugger-args=--smc-check=all-non-file --vex-iropt-register-updates=allregs-at-mem-access', 'Layers.UserData']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
AssertionError
File "/home/nical/dev/mozilla/mozilla-central/python/mozbuild/mozbuild/mach_commands.py", line 758, in gtest
pass_thru=True)
File "/home/nical/dev/mozilla/mozilla-central/python/mach/mach/mixin/process.py", line 76, in run_process
args = self._normalize_command(args, require_unix_environment)
File "/home/nical/dev/mozilla/mozilla-central/python/mach/mach/mixin/process.py", line 160, in _normalize_command
assert isinstance(args, list) and len(args)
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•