QA:CodeCoverage: Difference between revisions

Line 93: Line 93:
=== Execute some Unit tests  ===
=== Execute some Unit tests  ===


from $OBJDIR run the following<br>make check<br>make xpcshell-tests<br>make reftest<br>make crashtest<br>make mochitest-plain<br>make mochitest-chrome<br>make mochitest-browser-chrome<br>make mochitest-a11y<br><br>from SRC&nbsp;direcotry run the following<br><br>cd /home/user/src/js/tests<br>./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js<br>./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js -o '-j'<br>
from $OBJDIR run the following<br>make check<br>make xpcshell-tests<br>make reftest<br>make crashtest<br>make mochitest-plain<br>make mochitest-chrome<br>make mochitest-browser-chrome<br>make mochitest-a11y<br><br>from SRC&nbsp;directory run the following<br><br>cd /home/user/src/js/tests<br>./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js<br>./jsDriver.pl -e smdebug -L lc2 -L lc3 -L spidermonkey-n-1.9.1.tests -s ~/mozcentral-dbg/dist/bin/js -o '-j'<br>


<br> Please keep the focus on the Firefox browser , when running your tests, at all times or else your tests will fail.  
<br> Please keep the focus on the Firefox browser , when running your tests, at all times or else your tests will fail.  
183

edits