Closed
Bug 1316886
Opened 8 years ago
Closed 8 years ago
Port sdp_file_parser unit test to standalone binary
Categories
(Core :: WebRTC: Signaling, defect, P2)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: dminor, Assigned: dminor)
References
Details
Attachments
(2 files)
As it stands, we don't run this test in automation anyway.
It appears the intention is to be able to run it as a standalone executable, point it to a binary file containing sdp and manually verify the output.
If we want to run it in automation, we should come up with a standard input and an expected output. Otherwise, we should see if we can build it as a standalone executable, or just remove it.
Assignee | ||
Comment 1•8 years ago
|
||
Byron, what do you think we should do with this one? Thanks!
Flags: needinfo?(docfaraday)
Comment 2•8 years ago
|
||
I _think_ this doesn't use any XPCOM in any meaningful way, so we should be able to build it standalone. We could also build it as a gecko gtest but make its only test-case disabled.
Flags: needinfo?(docfaraday)
Comment 3•8 years ago
|
||
Dan I created this binary for the purpose of fuzz testing our SDP parser (which is at least 10 times faster via this binary then going all the way through Firefox). And I would like to keep it around for that purpose (assuming the effort to keep it around is not too high).
And yes Byron is right this should be converted into a standalone binary. I don't think it makes sense to keep this around if get converted into a gecko gtest.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → dminor
Status: NEW → ASSIGNED
Summary: Port sdp_file_parser unit test to xul gtest or elsewhere → Port sdp_file_parser unit test to standalone binary
Comment 4•8 years ago
|
||
There's a prototype of xul-gtestifying this in bug 1257713. It proposes adding an env var, SDP_FILE_PARSER_FILE, rather than passing the file in via command-line.
Building standalone is probably not an option. I'll attach the colossal linking failure.
Comment 5•8 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8810003 [details]
Bug 1316886 - Port sdp_file_parser unit test to standalone binary;
https://reviewboard.mozilla.org/r/92470/#review92538
LGTM. Thanks for solving it properly!
Attachment #8810003 -
Flags: review?(drno) → review+
Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/09b5ba29c6db
Port sdp_file_parser unit test to standalone binary; r=drno
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•8 years ago
|
status-firefox52:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•