зеркало из https://github.com/mozilla/gecko-dev.git
Bug 407207: add unit tests in intl/uconv to makefiles
This commit is contained in:
Родитель
350892fb62
Коммит
f529e55d03
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче