Bug 495387 - A few naughty things build their tests without ENABLE_TESTS, r=ted
authorPhil Ringnalda <philringnalda@gmail.com>
Sat, 13 Jun 2009 11:53:37 -0700
changeset 29197 3c2a2e6a603e779aab4b579adf5b70b1d4ae4ad9
parent 29196 7a93c28158e790a93103ea09ae8cf9db8412bd18
child 29198 7ba650e10a7815837410779bc6249c0a128fd7f0
push idunknown
push userunknown
push dateunknown
reviewersted
bugs495387
milestone1.9.2a1pre
Bug 495387 - A few naughty things build their tests without ENABLE_TESTS, r=ted
accessible/Makefile.in
accessible/tests/Makefile.in
security/manager/ssl/Makefile.in
toolkit/components/commandlines/Makefile.in
toolkit/components/downloads/Makefile.in
toolkit/components/satchel/Makefile.in
--- a/accessible/Makefile.in
+++ b/accessible/Makefile.in
@@ -38,12 +38,16 @@
 DEPTH   = ..
 topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 VPATH   = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 MODULE	= accessibility
-DIRS    = public src build tests
+DIRS    = public src build
+
+ifdef ENABLE_TESTS
+DIRS    += tests
+endif
 
 include $(topsrcdir)/config/rules.mk
 
--- a/accessible/tests/Makefile.in
+++ b/accessible/tests/Makefile.in
@@ -40,14 +40,12 @@ DEPTH   = ../..
 topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 VPATH   = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 MODULE	= test_accessibility
 
-ifdef ENABLE_TESTS
-DIRS		+= mochitest
-endif
+DIRS	= mochitest
 
 include $(topsrcdir)/config/rules.mk
 
--- a/security/manager/ssl/Makefile.in
+++ b/security/manager/ssl/Makefile.in
@@ -37,11 +37,15 @@
 # ***** END LICENSE BLOCK *****
 
 DEPTH		= ../../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 
 MODULE		= pipnss
-DIRS		  = src public tests
+DIRS		= src public
+
+ifdef ENABLE_TESTS
+DIRS		+= tests
+endif
 
 include $(topsrcdir)/config/rules.mk
--- a/toolkit/components/commandlines/Makefile.in
+++ b/toolkit/components/commandlines/Makefile.in
@@ -40,12 +40,15 @@ topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 VPATH     = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 DIRS = \
 	public \
 	src \
-	test \
 	$(NULL)
 
+ifdef ENABLE_TESTS
+DIRS += test
+endif
+
 include $(topsrcdir)/config/rules.mk
--- a/toolkit/components/downloads/Makefile.in
+++ b/toolkit/components/downloads/Makefile.in
@@ -37,12 +37,16 @@
 
 DEPTH   = ../../..
 topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 VPATH   = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
-DIRS = public src test
+DIRS = public src
+
+ifdef ENABLE_TESTS
+DIRS += test
+endif
 
 include $(topsrcdir)/config/rules.mk
 
--- a/toolkit/components/satchel/Makefile.in
+++ b/toolkit/components/satchel/Makefile.in
@@ -37,11 +37,15 @@
 
 DEPTH   = ../../..
 topsrcdir = @top_srcdir@
 srcdir    = @srcdir@
 VPATH   = @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
-DIRS = public src test
+DIRS = public src
+
+ifdef ENABLE_TESTS
+DIRS += test
+endif
 
 include $(topsrcdir)/config/rules.mk