1
edit
Changes
→Project Details
== Project Details ==
=== Testing Scripts ===
{|
|width="15px"|
|
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|The scripts I am using for running tests against my builds ( Oct 2nd, 2008 )
|-
|<pre>#!/bin/sh
####### the .mozconfig file to use for this build
export MOZCONFIG=/f/mozilla/.mozconfigPGO
####### the subdirectory trunk holds my src files
cd trunk
####### time the profile build and output stdout and stderr to files that are timestamped
time make -f client.mk profiledbuild 1> /i/mozilla/pgo-output-`date +%s`.txt 2> /i/mozilla/pgo-errors-`date +%s`.txt
####### after the build is completed done run the xpcshell tests and output stdout and stderr to file that are timestamped
make check 1> /i/mozilla/pgo-check-output-`date +%s`.txt 2> /i/mozilla/pgo-check-errors-`date +%s`.txt
####### change to the objdir directory then to the mochitest directory
cd /i/mozilla/ff-pgo/_tests/testing/mochitest
####### run the mochitest, run test right away, close the browser when done, log all output to a timestamped file
python runtests.py --autorun --close-when-done --log-file=/i/mozilla/pgo-mochitest-`date +%s`.log --file-level=DEBUG
</pre>
|}
<br />
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Here is the .mozconfig file ( Oct 2nd, 2008 )
|-
|<pre> . $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=/i/mozilla/ff-pgo
mk_add_options MOZ_MAKE_FLAGS=-j5
####### this is the script to run after the first build to gather profile data
mk_add_options PROFILE_GEN_SCRIPT="sh /f/mozilla/pgo.sh"
ac_add_options --disable-vista-sdk-requirements
####### this has to be enabled to perform the mochitests
ac_add_options --enable-tests
ac_add_options --disable-debug
ac_add_options --disable-accessibility
</pre>
|}
<br />
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Here is the script the profile build runs to gather profile data ( Oct 2nd, 2008 )
|-
|<pre>#!/bin/sh
export NO_EM_RESTART=1
mkdir $OBJDIR/_profileprofile
cd /i/mozilla/ff-pgo/_tests/testing/mochitest
python runtests.py --autorun --close-when-done --log-file=/i/mozilla/pgo-profile-mochitest-`date +%s`.log --file-level=DEBUG
</pre>
|}
|}
=== Related Bugs ===
{|
|width="25px15px"|
|Figure out why building jemalloc breaks with PGO enabled - [https://bugzilla.mozilla.org/show_bug.cgi?id=419470 419470]
|-
=== Releases ===
{|
|width="25px15px"|
|
==== 0.1 Release ====
{|
|width="25px15px"|
|
*Reproduce bug(s)
==== 0.2 Release ====
{|
|width="25px15px"|
|
To be Announced...
==== 0.3 Release ====
{|
|width="25px15px"|
|
To be Announced...
=== Errors ===
{|
|width="25px15px"|
|
*Build Environment:
=== Performance ===
{|
|width="25px15px"|
|