Difference between revisions of "How-Tos"
(→Firefox) |
(→Mozilla) |
||
Line 6: | Line 6: | ||
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. | 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== | ==Mozilla== | ||
− | { | + | {|style="background-color:white;width:100%;" |
− | |style="background-color: | + | |- |
− | |width=" | + | |width="25"| |
===Firefox=== | ===Firefox=== | ||
|- | |- | ||
+ | ||| | ||
+ | |||
+ | {|style="background-color:PaleGoldenrod;width:100%;padding:10px" | ||
|| | || | ||
− | |||
− | |||
====Automated Tests==== | ====Automated Tests==== | ||
<p> | <p> | ||
Line 20: | Line 21: | ||
<p> | <p> | ||
A requirement for all test is to make sure that Firefox is compiled with tests enabled.<br/> | A requirement for all test is to make sure that Firefox is compiled with tests enabled.<br/> | ||
− | Modify the .mozconfig file to include ''ac_add_options --enable-tests'' | + | Modify the .mozconfig file to include ''ac_add_options --enable-tests''<br/> |
+ | Build Firefox from source. | ||
</p> | </p> | ||
+ | |||
=====Mochitests===== | =====Mochitests===== | ||
− | + | {|style="background-color:PaleGoldenrod;width:90%;align:center;margin-left:auto;margin-right:auto;" | |
− | + | | | |
+ | '''<span style="color:DarkRed">Step 1</span>''' | ||
<blockquote> | <blockquote> | ||
</blockquote> | </blockquote> | ||
− | '''< | + | '''<span style="color:DarkRed">Step 2</span>''' |
<blockquote> | <blockquote> | ||
Build Firefox | Build Firefox | ||
</blockquote> | </blockquote> | ||
− | '''Step 3''' | + | '''<span style="color:DarkRed">Step 3</span>''' |
− | |||
<blockquote> | <blockquote> | ||
+ | A)<br/> | ||
Run the Mochitests | Run the Mochitests | ||
<pre>cd $(OBJDIR)/_tests/testing/mochitest | <pre>cd $(OBJDIR)/_tests/testing/mochitest | ||
Line 40: | Line 44: | ||
or | or | ||
<pre>make -C $(OBJDIR) mochitest</pre> | <pre>make -C $(OBJDIR) mochitest</pre> | ||
− | + | B)<br/> | |
− | B) | ||
− | < | ||
Specific Mochitests can be run by the following: | Specific Mochitests can be run by the following: | ||
<pre>cd $(OBJDIR)/_tests/testing/mochitest | <pre>cd $(OBJDIR)/_tests/testing/mochitest | ||
Line 50: | Line 52: | ||
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]. | ||
− | + | |} <!-- end of Mochitest Section --> | |
=====XPCShell===== | =====XPCShell===== | ||
<!-- | <!-- |
Revision as of 14:59, 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 | |||
|