|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini'] |
|
8 |
|
9 CPP_UNIT_TESTS += [ |
|
10 'test_AsXXX_helpers.cpp', |
|
11 'test_async_callbacks_with_spun_event_loops.cpp', |
|
12 'test_asyncStatementExecution_transaction.cpp', |
|
13 'test_binding_params.cpp', |
|
14 'test_file_perms.cpp', |
|
15 'test_mutex.cpp', |
|
16 'test_service_init_background_thread.cpp', |
|
17 'test_statement_scoper.cpp', |
|
18 'test_StatementCache.cpp', |
|
19 'test_transaction_helper.cpp', |
|
20 'test_true_async.cpp', |
|
21 'test_unlock_notify.cpp', |
|
22 ] |
|
23 |
|
24 if CONFIG['MOZ_DEBUG'] and CONFIG['OS_ARCH'] not in ('WINNT', 'Darwin'): |
|
25 # FIXME bug 523392: test_deadlock_detector doesn't like Windows |
|
26 # FIXME bug 523378: also fails on OS X |
|
27 CPP_UNIT_TESTS += [ |
|
28 'test_deadlock_detector.cpp', |
|
29 ] |
|
30 |
|
31 LOCAL_INCLUDES += [ |
|
32 '../src', |
|
33 ] |
|
34 |
|
35 FAIL_ON_WARNINGS = True |