QA/Automation/Projects/WebRTC/Crashtest Guide: Difference between revisions

m
Line 58: Line 58:
     TEST_PATH=dom/media/tests/crashtests/ make -C obj/ crashtest
     TEST_PATH=dom/media/tests/crashtests/ make -C obj/ crashtest


==Choose a bug (best one that is already verified) and reproduce the test case using an earlier version of firefox==
==Creating a new Crashtest==


The following is best explained with an example:
The following process is best explained with an example. There is a brief section at the end on how to best choose a suitable bug candidate for a crashtest, so if you only want to use this as a guideline rather than work your way through it first time, feel free to look at the Section on [https://wiki.mozilla.org/Auto-tools/Automation_Development/Projects/Crashtest_Guide#How_to_find_a_good_bug_to_write_a_crashtest_for.3F 'How to find a suitable bug to write a crashtest for'].


We take a bug, e.g Bug https://bugzilla.mozilla.org/show_bug.cgi?id=803535 <tt>critical, VERIFIED FIXED, WebRTC crash [@mozilla::MediaEngineDefault::EnumerateAudioDevices]</tt>
We take a bug, e.g Bug https://bugzilla.mozilla.org/show_bug.cgi?id=803535 <tt>critical, VERIFIED FIXED, WebRTC crash [@mozilla::MediaEngineDefault::EnumerateAudioDevices]</tt>
Confirmed users
35

edits