diff --git a/mozilla/htmlparser/Makefile.in b/mozilla/htmlparser/Makefile.in
index 283f9041a39..4de3bfc3d53 100644
--- a/mozilla/htmlparser/Makefile.in
+++ b/mozilla/htmlparser/Makefile.in
@@ -29,7 +29,7 @@ include $(DEPTH)/config/autoconf.mk
DIRS = src
ifdef ENABLE_TESTS
-DIRS += robot
+DIRS += robot tests
endif
include $(topsrcdir)/config/rules.mk
diff --git a/mozilla/htmlparser/tests/Makefile.in b/mozilla/htmlparser/tests/Makefile.in
index 05076149240..090bc2eec6e 100644
--- a/mozilla/htmlparser/tests/Makefile.in
+++ b/mozilla/htmlparser/tests/Makefile.in
@@ -26,6 +26,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
-DIRS = logparse
+DIRS = outsinks
include $(topsrcdir)/config/rules.mk
diff --git a/mozilla/parser/htmlparser/Makefile.in b/mozilla/parser/htmlparser/Makefile.in
index 283f9041a39..4de3bfc3d53 100644
--- a/mozilla/parser/htmlparser/Makefile.in
+++ b/mozilla/parser/htmlparser/Makefile.in
@@ -29,7 +29,7 @@ include $(DEPTH)/config/autoconf.mk
DIRS = src
ifdef ENABLE_TESTS
-DIRS += robot
+DIRS += robot tests
endif
include $(topsrcdir)/config/rules.mk
diff --git a/mozilla/parser/htmlparser/tests/Makefile.in b/mozilla/parser/htmlparser/tests/Makefile.in
index 05076149240..090bc2eec6e 100644
--- a/mozilla/parser/htmlparser/tests/Makefile.in
+++ b/mozilla/parser/htmlparser/tests/Makefile.in
@@ -26,6 +26,6 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
-DIRS = logparse
+DIRS = outsinks
include $(topsrcdir)/config/rules.mk