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 |