From 34199578000c057db9f15ea58e2f48215f2a8672 Mon Sep 17 00:00:00 2001 From: Phil Ringnalda Date: Sat, 13 Jun 2009 11:53:38 -0700 Subject: [PATCH] Bug 495023 - No need to ender dom/tests ifndef ENABLE_TESTS, r+sr=jst --- dom/Makefile.in | 5 ++++- dom/tests/Makefile.in | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dom/Makefile.in b/dom/Makefile.in index 6858d5ff5038..e11dd1c16836 100644 --- a/dom/Makefile.in +++ b/dom/Makefile.in @@ -79,8 +79,11 @@ DIRS += \ base \ src \ locales \ - tests \ $(NULL) +ifdef ENABLE_TESTS +DIRS += tests +endif + include $(topsrcdir)/config/rules.mk diff --git a/dom/tests/Makefile.in b/dom/tests/Makefile.in index 91f570835671..eb734a074165 100644 --- a/dom/tests/Makefile.in +++ b/dom/tests/Makefile.in @@ -44,10 +44,8 @@ include $(DEPTH)/config/autoconf.mk MODULE = test_dom -ifdef ENABLE_TESTS DIRS += mochitest XPCSHELL_TESTS = unit -endif include $(topsrcdir)/config/rules.mk