# -*- 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/. XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini'] CPP_UNIT_TESTS += [ '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', ] 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 += [ 'test_deadlock_detector', ] SOURCES += sorted('%s.cpp' % t for t in CPP_UNIT_TESTS) LOCAL_INCLUDES += [ '../src', ] FAIL_ON_WARNINGS = True USE_LIBS += [ 'mozalloc', 'xpcomglue_s', 'xul', ] if not CONFIG['MOZ_NATIVE_SQLITE'] and not CONFIG['MOZ_FOLD_LIBS']: USE_LIBS += [ 'mozsqlite3', ]