|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
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/. |
|
6 |
|
7 TEST_TOOL_DIRS += [ |
|
8 'csp', |
|
9 'websocket_hybi', |
|
10 ] |
|
11 |
|
12 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini'] |
|
13 |
|
14 # FIXME/bug 575918: out-of-process xpcshell is broken on OS X |
|
15 if CONFIG['OS_ARCH'] != 'Darwin': |
|
16 XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini'] |
|
17 |
|
18 CPP_UNIT_TESTS += [ |
|
19 'TestGetURL.cpp', |
|
20 'TestNativeXMLHttpRequest.cpp', |
|
21 'TestPlainTextSerializer.cpp', |
|
22 ] |
|
23 |
|
24 MOCHITEST_MANIFESTS += [ |
|
25 'chrome/mochitest.ini', |
|
26 'mochitest.ini', |
|
27 ] |
|
28 # OOP tests don't work on Windows (bug 763081) or native-fennec |
|
29 # (see Bug 774939). App permission checks are also disabled on |
|
30 # anything but B2G (Bug 900707). |
|
31 if CONFIG['MOZ_CHILD_PERMISSIONS']: |
|
32 MOCHITEST_MANIFESTS += [ |
|
33 'mochitest-child-permissions.ini', |
|
34 ] |
|
35 |
|
36 MOCHITEST_CHROME_MANIFESTS += [ |
|
37 'chrome.ini', |
|
38 'chrome/chrome.ini', |
|
39 ] |
|
40 |
|
41 BROWSER_CHROME_MANIFESTS += ['browser.ini'] |
|
42 |