2004-10-09 04:04:10 +04:00
|
|
|
#
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
2004-12-27 21:45:32 +03:00
|
|
|
# The Original Code is Oracle Corporation code.
|
|
|
|
#
|
2004-10-09 04:04:10 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Oracle Corporation
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2004
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Vladimir Vukicevic <vladimir.vukicevic@oracle.com>
|
2007-06-12 20:28:27 +04:00
|
|
|
# Shawn Wilsher <me@shawnwilsher.com>
|
2004-10-09 04:04:10 +04:00
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
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 \
|
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
|
|
|
|
ifneq (,$(filter-out WINNT WINCE 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
|
|
|
$(LIBXUL_DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \
|
|
|
|
$(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
|