summaryrefslogtreecommitdiff
path: root/storage/test/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'storage/test/moz.build')
-rw-r--r--storage/test/moz.build37
1 files changed, 37 insertions, 0 deletions
diff --git a/storage/test/moz.build b/storage/test/moz.build
new file mode 100644
index 0000000000..cf8b49c50b
--- /dev/null
+++ b/storage/test/moz.build
@@ -0,0 +1,37 @@
+# -*- Mode: python; 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 += [
+ '..',
+]
+
+USE_LIBS += [
+ 'sqlite',
+]