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 / +37 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/configobj'))
31
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mach'))
32
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mock-1.0.0'))
33
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mozboot'))
34
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mozbuild'))
35
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/mozversioncontrol'))
36
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/psutil'))
37
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/simplejson-2.1.1'))
38
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/which'))
39
sys.path.append(os.path.join(os.path.dirname(__file__), '../../python/virtualenv'))
40
41
# And finally config/ itself
42
sys.path.append(os.path.join(os.path.dirname(__file__), '../../config'))
43
7
from mozprofile import FirefoxProfile, Profile, Preferences
44
from mozprofile import FirefoxProfile, Profile, Preferences
8
from mozprofile.permissions import ServerLocations
45
from mozprofile.permissions import ServerLocations
9
from mozrunner import FirefoxRunner, CLI
46
from mozrunner import FirefoxRunner, CLI
Lines 11-18 Link Here
11
import json
48
import json
12
import socket
49
import socket
13
import threading
50
import threading
14
import os
15
import sys
16
import shutil
51
import shutil
17
import tempfile
52
import tempfile
18
from datetime import datetime
53
from datetime import datetime
(-)mozilla-release~/client.mk (-1 / +1 lines)
Lines 245-251 Link Here
245
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_GENERATE=1 MOZ_PGO_INSTRUMENTED=1
245
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_GENERATE=1 MOZ_PGO_INSTRUMENTED=1
246
	$(MAKE) -C $(PGO_OBJDIR) package MOZ_PGO_INSTRUMENTED=1 MOZ_INTERNAL_SIGNING_FORMAT= MOZ_EXTERNAL_SIGNING_FORMAT=
246
	$(MAKE) -C $(PGO_OBJDIR) package MOZ_PGO_INSTRUMENTED=1 MOZ_INTERNAL_SIGNING_FORMAT= MOZ_EXTERNAL_SIGNING_FORMAT=
247
	rm -f ${PGO_OBJDIR}/jarlog/en-US.log
247
	rm -f ${PGO_OBJDIR}/jarlog/en-US.log
248
	MOZ_PGO_INSTRUMENTED=1 JARLOG_FILE=jarlog/en-US.log EXTRA_TEST_ARGS=10 $(MAKE) -C $(PGO_OBJDIR) pgo-profile-run
248
	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
249
	$(MAKE) -f $(TOPSRCDIR)/client.mk maybe_clobber_profiledbuild
249
	$(MAKE) -f $(TOPSRCDIR)/client.mk maybe_clobber_profiledbuild
250
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_USE=1
250
	$(MAKE) -f $(TOPSRCDIR)/client.mk realbuild MOZ_PROFILE_USE=1
251
251

Return to bug 480258