|
|
Line 16: |
Line 16: |
|
| |
|
| == Running tests == | | == Running tests == |
|
| |
| ==== Set up the MOZ_HOST_BIN environment variable ====
| |
| The MOZ_HOST_BIN variable will need to be set to the directory with XPCShell on your machine.
| |
| You can execute the following command in the terminal, or it can be saved into .bashrc / .bash_profile for convinence:
| |
| <pre>export MOZ_HOST_BIN=/ABSOLUTE/PATH/TO/FIREFOX/SOURCE/{objdir}/dist/bin</pre>
| |
| If you're having difficulty finding the absolute path of XPCShell's directory, simply locate XPCShell in your {objdir}/dist/bin and execute the command pwd .
| |
|
| |
| Again, {objdir} is a placeholder.
| |
|
| |
|
| ==== Running all the tests ==== | | ==== Running all the tests ==== |