Bug 495023 - No need to ender dom/tests ifndef ENABLE_TESTS, r+sr=jst
authorPhil Ringnalda <philringnalda@gmail.com>
Sat, 13 Jun 2009 11:53:38 -0700
changeset 29199 b978be758ac2b5fcc6bc7597745378b05586ed67
parent 29198 7ba650e10a7815837410779bc6249c0a128fd7f0
child 29200 ee3149258d6402bf71e29dc0032f1ea46303d3ce
push idunknown
push userunknown
push dateunknown
bugs495023
milestone1.9.2a1pre
Bug 495023 - No need to ender dom/tests ifndef ENABLE_TESTS, r+sr=jst
dom/Makefile.in
dom/tests/Makefile.in
--- a/dom/Makefile.in
+++ b/dom/Makefile.in
@@ -74,13 +74,16 @@ ifdef MOZ_SMIL
 DIRS += interfaces/smil
 endif
 
 DIRS += \
   public/coreEvents \
   base \
   src \
   locales \
-  tests \
   $(NULL)
 
+ifdef ENABLE_TESTS
+DIRS += tests
+endif
+
 include $(topsrcdir)/config/rules.mk
 
--- a/dom/tests/Makefile.in
+++ b/dom/tests/Makefile.in
@@ -39,15 +39,13 @@ DEPTH		= ../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 
 include $(DEPTH)/config/autoconf.mk
 
 MODULE = test_dom
 
-ifdef ENABLE_TESTS
 DIRS		+= mochitest
 XPCSHELL_TESTS = unit
-endif
 
 include $(topsrcdir)/config/rules.mk