2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:23 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2014-02-06 13:00:20 -08:00
|
|
|
TEST_TOOL_DIRS += ['httpserver']
|
2013-03-19 11:47:00 -07:00
|
|
|
|
2013-10-20 00:25:19 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2014-02-06 13:00:20 -08:00
|
|
|
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['mochitests/mochitest.ini']
|
2013-04-29 11:49:00 -07:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
|
|
|
|
|
|
|
# FIXME/bug 575918: out-of-process xpcshell is broken on OS X
|
|
|
|
if CONFIG['OS_ARCH'] != 'Darwin':
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']
|
2013-04-23 14:54:15 -07:00
|
|
|
|
2013-11-01 16:43:55 -07:00
|
|
|
SIMPLE_PROGRAMS = [
|
2013-08-14 00:00:13 -07:00
|
|
|
'PropertiesTest',
|
|
|
|
'ReadNTLM',
|
|
|
|
'TestBlockingSocket',
|
|
|
|
'TestCallbacks',
|
|
|
|
'TestCookie',
|
|
|
|
'TestDNS',
|
|
|
|
'TestIncrementalDownload',
|
|
|
|
'TestOpen',
|
|
|
|
'TestPageLoad',
|
|
|
|
'TestProtocols',
|
|
|
|
'TestServ',
|
|
|
|
'TestStandardURL',
|
|
|
|
'TestStreamLoader',
|
|
|
|
'TestUpload',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TestURLParser',
|
2013-08-14 00:00:13 -07:00
|
|
|
'urltest',
|
|
|
|
]
|
|
|
|
|
|
|
|
# XXX Make this work in libxul builds.
|
2013-11-01 16:43:55 -07:00
|
|
|
#SIMPLE_PROGRAMS += [
|
2013-08-14 00:00:13 -07:00
|
|
|
# TestIDN',
|
|
|
|
# TestIOThreads',
|
|
|
|
# TestPerf',
|
|
|
|
# TestSocketTransport',
|
|
|
|
# TestStreamChannel',
|
|
|
|
# TestStreamPump',
|
|
|
|
# TestStreamTransport',
|
|
|
|
# TestUDPSocketProvider',
|
|
|
|
#]
|
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-11-01 16:43:55 -07:00
|
|
|
'%s.cpp' % s for s in SIMPLE_PROGRAMS
|
2013-06-13 09:02:02 -07:00
|
|
|
]
|
2013-07-24 00:23:06 -07:00
|
|
|
|
|
|
|
CPP_UNIT_TESTS += [
|
|
|
|
'TestSTSParser.cpp',
|
2013-05-10 05:00:22 -07:00
|
|
|
'TestUDPSocket.cpp',
|
2013-07-24 00:23:06 -07:00
|
|
|
]
|
|
|
|
|
2013-11-05 10:37:54 -08:00
|
|
|
RESOURCE_FILES += [
|
|
|
|
'urlparse.dat',
|
|
|
|
'urlparse_unx.dat',
|
|
|
|
]
|