2004-10-09 04:04:10 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
2004-10-09 04:04:10 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2004-10-09 04:04:10 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-08-04 22:26:44 +04:00
|
|
|
relativesrcdir = @relativesrcdir@
|
2004-10-09 04:04:10 +04:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2007-06-12 20:28:27 +04:00
|
|
|
MODULE = test_storage
|
|
|
|
|
|
|
|
XPCSHELL_TESTS = unit
|
|
|
|
|
2009-05-13 20:53:57 +04:00
|
|
|
CPP_UNIT_TESTS = \
|
|
|
|
test_transaction_helper.cpp \
|
|
|
|
test_statement_scoper.cpp \
|
2009-07-23 02:18:33 +04:00
|
|
|
test_mutex.cpp \
|
2010-02-23 00:57:45 +03:00
|
|
|
test_binding_params.cpp \
|
2010-03-24 10:32:40 +03:00
|
|
|
test_true_async.cpp \
|
2010-06-22 01:23:00 +04:00
|
|
|
test_unlock_notify.cpp \
|
2010-07-24 22:21:17 +04:00
|
|
|
test_service_init_background_thread.cpp \
|
2010-06-22 04:01:33 +04:00
|
|
|
test_AsXXX_helpers.cpp \
|
2010-11-08 22:42:29 +03:00
|
|
|
test_StatementCache.cpp \
|
2011-04-28 21:55:09 +04:00
|
|
|
test_async_callbacks_with_spun_event_loops.cpp \
|
2011-05-13 22:22:34 +04:00
|
|
|
test_file_perms.cpp \
|
2011-05-24 02:15:01 +04:00
|
|
|
test_asyncStatementExecution_transaction.cpp \
|
2009-05-13 20:53:57 +04:00
|
|
|
$(NULL)
|
2005-04-05 18:50:16 +04:00
|
|
|
|
2009-07-23 02:18:33 +04:00
|
|
|
ifdef MOZ_DEBUG
|
2009-10-21 04:26:04 +04:00
|
|
|
# FIXME bug 523392: test_deadlock_detector doesn't like Windows
|
|
|
|
# FIXME bug 523378: also fails on OS X
|
2011-05-10 22:24:49 +04:00
|
|
|
ifneq (,$(filter-out WINNT Darwin,$(OS_ARCH)))
|
2009-07-23 02:18:33 +04:00
|
|
|
CPP_UNIT_TESTS += \
|
|
|
|
test_deadlock_detector.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2004-10-09 04:04:10 +04:00
|
|
|
|
2009-07-23 02:18:33 +04:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../src \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-10-09 04:04:10 +04:00
|
|
|
LIBS = \
|
|
|
|
$(LIBS_DIR) \
|
2010-08-02 03:30:12 +04:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2009-07-23 02:18:33 +04:00
|
|
|
$(SQLITE_LIBS) \
|
2004-10-09 04:04:10 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|