Bug 407207: add unit tests in intl/uconv to makefiles

This commit is contained in:
smontagu@smontagu.org 2007-12-07 03:06:07 -08:00
parent 991719200d
commit 1ead9ab487
2 changed files with 8 additions and 8 deletions

View File

@ -71,12 +71,8 @@ ifdef MOZ_MATHML
DIRS += ucvmath
endif
ifeq ($(OS_ARCH),WINNT)
ifdef ENABLE_TESTS
ifndef MOZ_ENABLE_LIBXUL
DIRS += tests
endif
endif
TOOL_DIRS += tests
endif
include $(topsrcdir)/config/rules.mk

View File

@ -39,12 +39,13 @@ DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = intl/uconv/tests
include $(DEPTH)/config/autoconf.mk
MODULE = test_intl_uconv
XPCSHELL_TESTS = unit
ifndef MOZ_ENABLE_LIBXUL
MOZILLA_INTERNAL_API = 1
REQUIRES = \
@ -66,7 +67,10 @@ endif
SIMPLE_PROGRAMS = $(CPPSRCS:.cpp=$(BIN_SUFFIX))
endif # MOZ_ENABLE_LIBXUL
ifdef MOZ_MOCHITEST
relativesrcdir = intl/uconv/tests
_TEST_FILES = \
test_bug335816.html \
@ -76,10 +80,9 @@ libs:: $(_TEST_FILES)
endif # MOZ_MOCHITEST
XPCSHELL_TESTS = unit
include $(topsrcdir)/config/rules.mk
ifndef MOZ_ENABLE_LIBXUL
INCLUDES += \
-I$(srcdir)/../ucvlatin \
-I$(srcdir)/../ucvja \
@ -98,3 +101,4 @@ ifneq ($(OS_RELEASE),1.2)
OS_LIBS += /usr/lib/libdl.so
endif
endif
endif # MOZ_ENABLE_LIBXUL