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