2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:23 +04: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/.
|
|
|
|
|
2013-09-19 02:43:02 +04:00
|
|
|
TEST_TOOL_DIRS += ['httpserver', 'browser', 'mochitests']
|
2013-03-19 22:47:00 +04:00
|
|
|
|
|
|
|
MODULE = 'test_necko'
|
|
|
|
|
2013-04-29 22:49:00 +04: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-24 01:54:15 +04:00
|
|
|
|
2013-08-14 11:00:13 +04:00
|
|
|
sources = [
|
|
|
|
'PropertiesTest',
|
|
|
|
'ReadNTLM',
|
|
|
|
'TestBlockingSocket',
|
|
|
|
'TestCallbacks',
|
|
|
|
'TestCookie',
|
|
|
|
'TestDNS',
|
|
|
|
'TestIncrementalDownload',
|
|
|
|
'TestOpen',
|
|
|
|
'TestPageLoad',
|
|
|
|
'TestProtocols',
|
|
|
|
'TestServ',
|
|
|
|
'TestStandardURL',
|
|
|
|
'TestStreamLoader',
|
|
|
|
'TestURLParser',
|
|
|
|
'TestUpload',
|
|
|
|
'urltest',
|
|
|
|
]
|
|
|
|
|
|
|
|
# XXX Make this work in libxul builds.
|
|
|
|
#sources += [
|
|
|
|
# TestIDN',
|
|
|
|
# TestIOThreads',
|
|
|
|
# TestPerf',
|
|
|
|
# TestSocketTransport',
|
|
|
|
# TestStreamChannel',
|
|
|
|
# TestStreamPump',
|
|
|
|
# TestStreamTransport',
|
|
|
|
# TestUDPSocketProvider',
|
|
|
|
#]
|
|
|
|
|
2013-04-24 01:54:15 +04:00
|
|
|
CPP_SOURCES += [
|
2013-08-14 11:00:13 +04:00
|
|
|
'%s.cpp' % s for s in sources
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-06-13 20:02:02 +04:00
|
|
|
|
|
|
|
bin_suffix = CONFIG['BIN_SUFFIX']
|
|
|
|
SIMPLE_PROGRAMS += [
|
2013-08-14 11:00:13 +04:00
|
|
|
'%s%s' % (s, bin_suffix) for s in sources
|
2013-06-13 20:02:02 +04:00
|
|
|
]
|
2013-07-24 11:23:06 +04:00
|
|
|
|
|
|
|
CPP_UNIT_TESTS += [
|
|
|
|
'TestSTSParser.cpp',
|
|
|
|
'TestUDPServerSocket.cpp',
|
|
|
|
]
|
|
|
|
|