зеркало из https://github.com/mozilla/gecko-dev.git
Bug 702388 - Convert some more Makefiles to use |TEST_DIRS += foo|; r=khuey
This commit is contained in:
Родитель
2c1f399923
Коммит
6004ad6221
|
@ -44,18 +44,18 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
NO_PROFILE_GUIDED_OPTIMIZE = 1
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
|
||||
ifdef _MSC_VER
|
||||
ifneq ($(OS_TEST),x86_64)
|
||||
DIRS += vmwarerecordinghelper
|
||||
TEST_DIRS += vmwarerecordinghelper
|
||||
endif
|
||||
endif
|
||||
|
||||
DIRS += \
|
||||
TEST_DIRS += \
|
||||
crashinjectdll \
|
||||
$(NULL)
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
|
||||
PROGRAM = crashinject$(BIN_SUFFIX)
|
||||
USE_STATIC_LIBS = 1
|
||||
CPPSRCS = crashinject.cpp
|
||||
|
|
|
@ -45,8 +45,8 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
PARALLEL_DIRS = interfaces src
|
||||
|
||||
TEST_DIRS += tests
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += tests
|
||||
XPCSHELL_TESTS = tests
|
||||
endif
|
||||
|
||||
|
|
|
@ -48,9 +48,9 @@ MODULE = embed
|
|||
|
||||
DIRS = base components browser
|
||||
|
||||
TEST_DIRS += test
|
||||
ifdef ENABLE_TESTS
|
||||
XPCSHELL_TESTS = tests/unit
|
||||
DIRS += test
|
||||
endif
|
||||
|
||||
ifeq ($(MOZ_WIDGET_TOOLKIT),android)
|
||||
|
|
|
@ -73,10 +73,8 @@ endif
|
|||
|
||||
XPCSHELL_TESTS = tests/unit
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
ifneq (mobile,$(MOZ_BUILD_APP))
|
||||
DIRS += tests/browser
|
||||
endif
|
||||
TEST_DIRS += tests/browser
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -50,8 +50,9 @@ EXTRA_PP_JS_MODULES = \
|
|||
FileUtils.jsm \
|
||||
$(NULL)
|
||||
|
||||
TEST_DIRS += test/chrome
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test/chrome
|
||||
XPCSHELL_TESTS = test/unit
|
||||
endif
|
||||
|
||||
|
|
|
@ -77,14 +77,12 @@ endif
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test_timermanager
|
||||
TEST_DIRS += test_timermanager
|
||||
# Update tests require the updater binary
|
||||
ifdef MOZ_UPDATER
|
||||
DIRS += test
|
||||
TEST_DIRS += test
|
||||
ifdef MOZ_MAINTENANCE_SERVICE
|
||||
DIRS += test_svc
|
||||
endif
|
||||
TEST_DIRS += test_svc
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче