1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/test/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +TEST_TOOL_DIRS += [ 1.11 + 'csp', 1.12 + 'websocket_hybi', 1.13 +] 1.14 + 1.15 +XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini'] 1.16 + 1.17 +# FIXME/bug 575918: out-of-process xpcshell is broken on OS X 1.18 +if CONFIG['OS_ARCH'] != 'Darwin': 1.19 + XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini'] 1.20 + 1.21 +CPP_UNIT_TESTS += [ 1.22 + 'TestGetURL.cpp', 1.23 + 'TestNativeXMLHttpRequest.cpp', 1.24 + 'TestPlainTextSerializer.cpp', 1.25 +] 1.26 + 1.27 +MOCHITEST_MANIFESTS += [ 1.28 + 'chrome/mochitest.ini', 1.29 + 'mochitest.ini', 1.30 +] 1.31 +# OOP tests don't work on Windows (bug 763081) or native-fennec 1.32 +# (see Bug 774939). App permission checks are also disabled on 1.33 +# anything but B2G (Bug 900707). 1.34 +if CONFIG['MOZ_CHILD_PERMISSIONS']: 1.35 + MOCHITEST_MANIFESTS += [ 1.36 + 'mochitest-child-permissions.ini', 1.37 + ] 1.38 + 1.39 +MOCHITEST_CHROME_MANIFESTS += [ 1.40 + 'chrome.ini', 1.41 + 'chrome/chrome.ini', 1.42 +] 1.43 + 1.44 +BROWSER_CHROME_MANIFESTS += ['browser.ini'] 1.45 +