Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey

This commit is contained in:
Michael Wu 2012-05-27 23:25:22 -04:00
parent 21fa61e832
commit ea17443d61
11 changed files with 11 additions and 33 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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).

View File

@ -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

View File

@ -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).

View File

@ -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

View File

@ -32,9 +32,7 @@ XPIDLSRCS = \
nsIJSInspector.idl \
$(NULL)
ifdef ENABLE_TESTS
DIRS += tests
endif
TEST_DIRS += tests
include $(topsrcdir)/config/rules.mk