Changes

Jump to: navigation, search

How-Tos

308 bytes added, 15:47, 28 November 2008
Mochitests
{|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;"
|
Run all Mochitests<br/>'''<span style="color:DarkRed">A)</span>'''<blockquote><span style="color:DarkRed">Step 1</span><pre>cd $(OBJDIR)/_tests/testing/mochitest</pre><span style="color:DarkRed">Step 2</span><pre>python runtests.py</pre></blockquote>'''<span style="color:DarkRed">B)</span>'''
<blockquote>
<span style="color:DarkRed">A)Step 1</span><br/>Run the Mochitests<pre>cd $(OBJDIR)</_tests/testing/mochitestpre>python runtests.py<span style="color:DarkRed">Step 2</prespan>or
<pre>make -C $(OBJDIR) mochitest</pre>
<span style="color:DarkRed">B)</span><br/blockquote>
Specific Mochitests can be run by the following:
<blockquote><span style="color:DarkRed">Step 1</span><pre>cd $(OBJDIR)/_tests/testing/mochitest</pre><span style="color:DarkRed">Step 2</span><pre>python runtests.py --test-path=content/base/test/test_CrossSiteXHR.html</pre>
</blockquote>
 
There are more options that are available for running [https://developer.mozilla.org/en/Mochitest Mochitests].
|-
|<hr style="height:5px;width:100%;background-color:SaddleBrown;">
 
=====XPCShell=====
<hr style="height:5px;width:15%;background-color:Peru;">
1
edit

Navigation menu