зеркало из https://github.com/mozilla/pjs.git
Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey
This commit is contained in:
Родитель
41be10bfa1
Коммит
b91eca5487
|
@ -11,8 +11,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
DIRS = src
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -18,9 +18,7 @@ EXTRA_PP_JS_MODULES = \
|
|||
PageThumbs.jsm \
|
||||
$(NULL)
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -9,9 +9,7 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -10,9 +10,7 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -87,9 +87,7 @@ ifdef MOZ_MEDIA_PLUGINS
|
|||
PARALLEL_DIRS += plugins
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
PARALLEL_DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
FORCE_STATIC_LIB = 1
|
||||
|
||||
|
|
|
@ -13,9 +13,7 @@ include $(DEPTH)/config/autoconf.mk
|
|||
MODULE = xul
|
||||
PARALLEL_DIRS = public src
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
PARALLEL_DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -31,9 +31,7 @@ EXTRA_JS_MODULES = \
|
|||
$(NULL)
|
||||
endif
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += tests
|
||||
endif
|
||||
TEST_DIRS += tests
|
||||
|
||||
# Add VPATH to LOCAL_INCLUDES so we are going to include the correct backend
|
||||
# subdirectory (and the ipc one).
|
||||
|
|
|
@ -36,9 +36,7 @@ XPIDLSRCS = \
|
|||
nsIPowerManagerService.idl \
|
||||
$(NULL)
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += test
|
||||
endif
|
||||
TEST_DIRS += test
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
||||
|
|
|
@ -28,9 +28,7 @@ EXTRA_JS_MODULES = \
|
|||
SettingsChangeNotifier.jsm \
|
||||
$(NULL)
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += tests
|
||||
endif
|
||||
TEST_DIRS += tests
|
||||
|
||||
# Add VPATH to LOCAL_INCLUDES so we are going to include the correct backend
|
||||
# subdirectory (and the ipc one).
|
||||
|
|
|
@ -26,10 +26,8 @@ endif
|
|||
# If we are building ./sign and ./verify then ./tool must come after it
|
||||
DIRS += tool
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
ifdef MOZ_ENABLE_SIGNMAR
|
||||
DIRS += tests
|
||||
endif
|
||||
TEST_DIRS += tests
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
|
@ -32,9 +32,7 @@ XPIDLSRCS = \
|
|||
nsIJSInspector.idl \
|
||||
$(NULL)
|
||||
|
||||
ifdef ENABLE_TESTS
|
||||
DIRS += tests
|
||||
endif
|
||||
TEST_DIRS += tests
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче