storage/test/moz.build
author Lars T Hansen <lhansen@mozilla.com>
Tue, 24 Mar 2015 09:06:03 +0100
changeset 264087 6229a2b58212102344fc13881703d3cae17e9490
parent 237377 55d15b285436576e1c5979f753e433c50fd9db3a
child 275453 dd79977a3286d947aff8e270245d05c05e676964
permissions -rw-r--r--
Bug 1146364 - use resumeAfter after effectful instructions. r=nbp

# -*- 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']

GeckoCppUnitTests([
    '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
    GeckoCppUnitTests([
        'test_deadlock_detector',
    ])

LOCAL_INCLUDES += [
    '../src',
]

FAIL_ON_WARNINGS = True

USE_LIBS += [
    'sqlite',
]