netwerk/test/moz.build
author Carsten "Tomcat" Book <cbook@mozilla.com>
Fri, 09 Jan 2015 16:24:14 +0100
changeset 248850 548ff18c9fc6a54dced7165f22f00ab803c746d2
parent 248040 8f91a31d4cec2830c135037fec299490f1cca2ff
child 251587 4483e49e26b2b88e8e2b380c44142f271c4be1ea
permissions -rw-r--r--
Backed out changeset f61a4592da85 (bug 1117607) for Reftest Failures/Crashes on a CLOSED TREE

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

TEST_DIRS += ['httpserver']

FAIL_ON_WARNINGS = True

BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
MOCHITEST_MANIFESTS += ['mochitests/mochitest.ini']

XPCSHELL_TESTS_MANIFESTS += [
    'unit/xpcshell.ini',
    'unit_ipc/xpcshell.ini',
]

GeckoSimplePrograms([
    'PropertiesTest',
    'ReadNTLM',
    'TestBlockingSocket',
    'TestCallbacks',
    'TestDNS',
    'TestIncrementalDownload',
    'TestOpen',
    'TestPageLoad',
    'TestProtocols',
    'TestServ',
    'TestStandardURL',
    'TestStreamLoader',
    'TestUpload',
    'TestURLParser',
    'urltest',
])

# XXX Make this work in libxul builds.
#SIMPLE_PROGRAMS += [
#    TestIDN',
#    TestIOThreads',
#    TestPerf',
#    TestSocketTransport',
#    TestStreamChannel',
#    TestStreamPump',
#    TestStreamTransport',
#    TestUDPSocketProvider',
#]

CppUnitTests([
    'TestBind',
    'TestCookie',
    'TestSTSParser',
    'TestUDPSocket',
])

RESOURCE_FILES += [
    'urlparse.dat',
    'urlparse_unx.dat',
]

CXXFLAGS += CONFIG['TK_CFLAGS']