Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump
[gecko.git] / netwerk / test / moz.build
blob55edd0197b1e08f2e88d4a3919a937e9a05b4e86
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 += ['httpserver', 'browser', 'mochitests']
9 FAIL_ON_WARNINGS = True
11 MODULE = 'test_necko'
13 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
15 # FIXME/bug 575918: out-of-process xpcshell is broken on OS X
16 if CONFIG['OS_ARCH'] != 'Darwin':
17     XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']
19 sources = [
20     'PropertiesTest',
21     'ReadNTLM',
22     'TestBlockingSocket',
23     'TestCallbacks',
24     'TestCookie',
25     'TestDNS',
26     'TestIncrementalDownload',
27     'TestOpen',
28     'TestPageLoad',
29     'TestProtocols',
30     'TestServ',
31     'TestStandardURL',
32     'TestStreamLoader',
33     'TestUpload',
34     'TestURLParser',
35     'urltest',
38 # XXX Make this work in libxul builds.
39 #sources += [
40 #    TestIDN',
41 #    TestIOThreads',
42 #    TestPerf',
43 #    TestSocketTransport',
44 #    TestStreamChannel',
45 #    TestStreamPump',
46 #    TestStreamTransport',
47 #    TestUDPSocketProvider',
50 SOURCES += [
51     '%s.cpp' % s for s in sources
54 bin_suffix = CONFIG['BIN_SUFFIX']
55 SIMPLE_PROGRAMS += [
56     '%s%s' % (s, bin_suffix) for s in sources
59 CPP_UNIT_TESTS += [
60     'TestSTSParser.cpp',
61     'TestUDPServerSocket.cpp',