2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 13:05:31 -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/.
|
|
|
|
|
2013-04-29 11:49:00 -07:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
|
2013-07-24 00:23:06 -07:00
|
|
|
|
|
|
|
CPP_UNIT_TESTS += [
|
2014-07-22 21:29:44 -07:00
|
|
|
'test_AsXXX_helpers',
|
|
|
|
'test_async_callbacks_with_spun_event_loops',
|
|
|
|
'test_asyncStatementExecution_transaction',
|
|
|
|
'test_binding_params',
|
|
|
|
'test_file_perms',
|
|
|
|
'test_mutex',
|
|
|
|
'test_service_init_background_thread',
|
|
|
|
'test_statement_scoper',
|
|
|
|
'test_StatementCache',
|
|
|
|
'test_transaction_helper',
|
|
|
|
'test_true_async',
|
|
|
|
'test_unlock_notify',
|
2013-07-24 00:23:06 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_DEBUG'] and CONFIG['OS_ARCH'] not in ('WINNT', 'Darwin'):
|
|
|
|
# FIXME bug 523392: test_deadlock_detector doesn't like Windows
|
|
|
|
# FIXME bug 523378: also fails on OS X
|
|
|
|
CPP_UNIT_TESTS += [
|
2014-07-22 21:29:44 -07:00
|
|
|
'test_deadlock_detector',
|
2013-07-24 00:23:06 -07:00
|
|
|
]
|
2013-12-31 01:06:11 -08:00
|
|
|
|
2014-07-22 21:29:44 -07:00
|
|
|
SOURCES += sorted('%s.cpp' % t for t in CPP_UNIT_TESTS)
|
|
|
|
|
2013-12-31 01:06:11 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../src',
|
|
|
|
]
|
|
|
|
|
2014-01-08 11:04:03 -08:00
|
|
|
FAIL_ON_WARNINGS = True
|
2014-07-22 21:30:52 -07:00
|
|
|
|
|
|
|
USE_LIBS += [
|
|
|
|
'mozalloc',
|
2014-08-06 22:21:03 -07:00
|
|
|
'nspr',
|
|
|
|
'sqlite',
|
2014-07-22 21:30:52 -07:00
|
|
|
'xpcomglue_s',
|
2014-07-22 21:33:09 -07:00
|
|
|
'xul',
|
2014-07-22 21:30:52 -07:00
|
|
|
]
|