Closed
Bug 1422005
Opened 7 years ago
Closed 4 years ago
Error running cppunittests with |mach test|
Categories
(Testing :: CPPUnitTest, defect, P1)
Testing
CPPUnitTest
Tracking
(firefox79 fixed)
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: ahal, Assigned: gbrown)
References
(Blocks 2 open bugs)
Details
(Whiteboard: dev-prod-2020)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Running |mach test cppunittest| results in an error:
KeyError: u'test_files'
File "/home/ahal/hg/mozilla-central/testing/mach_commands.py", line 102, in test
argv=extra_args, **suite['kwargs'])
File "/home/ahal/hg/mozilla-central/python/mach/mach/registrar.py", line 129, in dispatch
return self._run_command_handler(handler, context=context, **kwargs)
File "/home/ahal/hg/mozilla-central/python/mach/mach/registrar.py", line 90, in _run_command_handler
result = fn(**kwargs)
File "/home/ahal/hg/mozilla-central/testing/mach_commands.py", line 155, in run_cppunit_test
tests = params['test_files']
Also, when specifying paths cppunittests don't seem to be picked up.
Reporter | ||
Updated•7 years ago
|
Component: General → CPPUnitTest
Assignee | ||
Comment 1•4 years ago
|
||
Confirmed I get the same error today.
Assignee: nobody → gbrown
Blocks: mach-busted
Severity: normal → S3
Priority: -- → P1
Whiteboard: dev-prod-2020
Assignee | ||
Comment 2•4 years ago
|
||
Correct typo in parameter name to enable 'mach test cppunittest'.
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5899d2b37513
Fix 'mach test cppunittest'; r=jmaher
Comment 4•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•