Difference between revisions of "How-Tos"
(→Mozilla) |
(→Mochitests) |
||
Line 33: | Line 33: | ||
{|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | {|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | ||
| | | | ||
− | + | Run all Mochitests<br/> | |
− | '''<span style="color:DarkRed">Step 1</span>''' | + | '''<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> | <blockquote> | ||
− | <span style="color:DarkRed"> | + | <span style="color:DarkRed">Step 1</span> |
− | + | <pre>cd $(OBJDIR)</pre> | |
− | <pre>cd $(OBJDIR)/ | + | <span style="color:DarkRed">Step 2</span> |
− | |||
− | |||
<pre>make -C $(OBJDIR) mochitest</pre> | <pre>make -C $(OBJDIR) mochitest</pre> | ||
− | + | </blockquote> | |
Specific Mochitests can be run by the following: | Specific Mochitests can be run by the following: | ||
− | <pre>cd $(OBJDIR)/_tests/testing/mochitest | + | <blockquote> |
− | python runtests.py --test-path=content/base/test/test_CrossSiteXHR.html | + | <span style="color:DarkRed">Step 1</span> |
− | </pre> | + | <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> | </blockquote> | ||
+ | |||
There are more options that are available for running [https://developer.mozilla.org/en/Mochitest Mochitests]. | There are more options that are available for running [https://developer.mozilla.org/en/Mochitest Mochitests]. | ||
Line 53: | Line 61: | ||
|- | |- | ||
|<hr style="height:5px;width:100%;background-color:SaddleBrown;"> | |<hr style="height:5px;width:100%;background-color:SaddleBrown;"> | ||
+ | |||
=====XPCShell===== | =====XPCShell===== | ||
<hr style="height:5px;width:15%;background-color:Peru;"> | <hr style="height:5px;width:15%;background-color:Peru;"> |
Revision as of 15:47, 28 November 2008
Contents
Welcome
Welcome to the Seneca How-To page. You'll find How-To's for all things Open Source related.
Wiki
How to add a how-to
To add a how-to to this page add a heading under the correct category OR create a category if one doesn't exist. There are currently no formatting or style rules. The suggestion is to be clean and well laid out. Look over the current how-to's to get a feel on how your tutorial should be laid out. Thank you for the contribution.
Mozilla
Firefox |
|||||||||
|