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

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

mercurial