Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 480258 | Differences between
and this patch

Collapse All | Expand All

(-)mozilla-release~/build/automation.py.in (-1 / +1 lines)
Lines 29-35 Link Here
29
# TODO: this is a hack for mozbase without virtualenv, remove with bug 849900
29
# TODO: this is a hack for mozbase without virtualenv, remove with bug 849900
30
# These paths refer to relative locations to test.zip, not the OBJDIR or SRCDIR
30
# These paths refer to relative locations to test.zip, not the OBJDIR or SRCDIR
31
here = os.path.dirname(os.path.realpath(__file__))
31
here = os.path.dirname(os.path.realpath(__file__))
32
mozbase = os.path.realpath(os.path.join(os.path.dirname(here), 'mozbase'))
32
mozbase = os.path.realpath(os.path.join(os.path.dirname(here), '../../testing/mozbase'))
33
33
34
if os.path.isdir(mozbase):
34
if os.path.isdir(mozbase):
35
    for package in os.listdir(mozbase):
35
    for package in os.listdir(mozbase):
(-)mozilla-release~/build/pgo/profileserver.py (-2 / +36 lines)
Lines 4-9 Link Here
4
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
# License, v. 2.0. If a copy of the MPL was not distributed with this
5
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
6
7
import os
8
import sys
9
10
# Let's put all subdirectories under testing/mozbase/ here
11
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/manifestdestiny'))
12
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozb2g'))
13
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozcrash'))
14
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozdevice'))
15
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozfile'))
16
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozhttpd'))
17
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozinfo'))
18
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozinstall'))
19
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozlog'))
20
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/moznetwork'))
21
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozprocess'))
22
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozprofile'))
23
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozrunner'))
24
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/mozsystemmonitor'))
25
sys.path.append(os.path.join(os.path.dirname(__file__), '../../testing/mozbase/moztest'))
26
27
# And all subdirectories under python/
28
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/blessings'))
29
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/codegen'))
30
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mach'))
31
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mock-1.0.0'))
32
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mozboot'))
33
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mozbuild'))
34
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mozversioncontrol'))
35
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/psutil'))
36
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/simplejson-2.1.1'))
37
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/which'))
38
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/virtualenv'))
39
40
# And finally config/ itself
41
sys.path.append(os.path.join(os.path.dirname(__file__), '../../config'))
42
7
from mozprofile import FirefoxProfile, Profile, Preferences
43
from mozprofile import FirefoxProfile, Profile, Preferences
8
from mozprofile.permissions import ServerLocations
44
from mozprofile.permissions import ServerLocations
9
from mozrunner import FirefoxRunner, CLI
45
from mozrunner import FirefoxRunner, CLI
Lines 11-18 Link Here
11
import json
47
import json
12
import socket
48
import socket
13
import threading
49
import threading
14
import os
15
import sys
16
import shutil
50
import shutil
17
import tempfile
51
import tempfile
18
from datetime import datetime
52
from datetime import datetime
(-)mozilla-release~/client.mk (-1 / +1 lines)
Lines 210-216 Link Here
210
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_GENERATE=1 MOZ_PGO_INSTRUMENTED=1
210
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_GENERATE=1 MOZ_PGO_INSTRUMENTED=1
211
	$(MAKE) -C $(PGO_OBJDIR) package MOZ_PGO_INSTRUMENTED=1 MOZ_INTERNAL_SIGNING_FORMAT= MOZ_EXTERNAL_SIGNING_FORMAT=
211
	$(MAKE) -C $(PGO_OBJDIR) package MOZ_PGO_INSTRUMENTED=1 MOZ_INTERNAL_SIGNING_FORMAT= MOZ_EXTERNAL_SIGNING_FORMAT=
212
	rm -f ${PGO_OBJDIR}/jarlog/en-US.log
212
	rm -f ${PGO_OBJDIR}/jarlog/en-US.log
213
	MOZ_PGO_INSTRUMENTED=1 JARLOG_FILE=jarlog/en-US.log EXTRA_TEST_ARGS=10 $(MAKE) -C $(PGO_OBJDIR) pgo-profile-run
213
	MOZ_PGO_INSTRUMENTED=1 JARLOG_FILE=jarlog/en-US.log EXTRA_TEST_ARGS=10 topsrcdir=$(TOPSRCDIR) DEPTH=. PYTHON=python $(MAKE) -C $(PGO_OBJDIR) -f $(TOPSRCDIR)/testing/testsuite-targets.mk pgo-profile-run
214
	$(MAKE) -f $(TOPSRCDIR)/client.mk maybe_clobber_profiledbuild
214
	$(MAKE) -f $(TOPSRCDIR)/client.mk maybe_clobber_profiledbuild
215
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_USE=1
215
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_USE=1
216
216

Return to bug 480258