netwerk/test/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 TEST_TOOL_DIRS += ['httpserver']
michael@0 8
michael@0 9 FAIL_ON_WARNINGS = True
michael@0 10
michael@0 11 BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']
michael@0 12 MOCHITEST_MANIFESTS += ['mochitests/mochitest.ini']
michael@0 13 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
michael@0 14
michael@0 15 # FIXME/bug 575918: out-of-process xpcshell is broken on OS X
michael@0 16 if CONFIG['OS_ARCH'] != 'Darwin':
michael@0 17 XPCSHELL_TESTS_MANIFESTS += ['unit_ipc/xpcshell.ini']
michael@0 18
michael@0 19 SIMPLE_PROGRAMS = [
michael@0 20 'PropertiesTest',
michael@0 21 'ReadNTLM',
michael@0 22 'TestBlockingSocket',
michael@0 23 'TestCallbacks',
michael@0 24 'TestCookie',
michael@0 25 'TestDNS',
michael@0 26 'TestIncrementalDownload',
michael@0 27 'TestOpen',
michael@0 28 'TestPageLoad',
michael@0 29 'TestProtocols',
michael@0 30 'TestServ',
michael@0 31 'TestStandardURL',
michael@0 32 'TestStreamLoader',
michael@0 33 'TestUpload',
michael@0 34 'TestURLParser',
michael@0 35 'urltest',
michael@0 36 ]
michael@0 37
michael@0 38 # XXX Make this work in libxul builds.
michael@0 39 #SIMPLE_PROGRAMS += [
michael@0 40 # TestIDN',
michael@0 41 # TestIOThreads',
michael@0 42 # TestPerf',
michael@0 43 # TestSocketTransport',
michael@0 44 # TestStreamChannel',
michael@0 45 # TestStreamPump',
michael@0 46 # TestStreamTransport',
michael@0 47 # TestUDPSocketProvider',
michael@0 48 #]
michael@0 49
michael@0 50 SOURCES += [
michael@0 51 '%s.cpp' % s for s in SIMPLE_PROGRAMS
michael@0 52 ]
michael@0 53
michael@0 54 CPP_UNIT_TESTS += [
michael@0 55 'TestSTSParser.cpp',
michael@0 56 'TestUDPSocket.cpp',
michael@0 57 ]
michael@0 58
michael@0 59 RESOURCE_FILES += [
michael@0 60 'urlparse.dat',
michael@0 61 'urlparse_unx.dat',
michael@0 62 ]

mercurial