content/base/test/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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/.
     7 TEST_TOOL_DIRS += [
     8     'csp',
     9     'websocket_hybi',
    10 ]
    12 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
    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']
    18 CPP_UNIT_TESTS += [
    19     'TestGetURL.cpp',
    20     'TestNativeXMLHttpRequest.cpp',
    21     'TestPlainTextSerializer.cpp',
    22 ]
    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     ]
    36 MOCHITEST_CHROME_MANIFESTS += [
    37     'chrome.ini',
    38     'chrome/chrome.ini',
    39 ]
    41 BROWSER_CHROME_MANIFESTS += ['browser.ini']

mercurial