diff --git a/mozilla/htmlparser/robot/Makefile.in b/mozilla/htmlparser/robot/Makefile.in
index c4afeb45abd..608eacb0520 100644
--- a/mozilla/htmlparser/robot/Makefile.in
+++ b/mozilla/htmlparser/robot/Makefile.in
@@ -32,7 +32,7 @@ SHORT_LIBNAME = dbgrobot
CPPSRCS = nsDebugRobot.cpp nsRobotSink.cpp
ifdef ENABLE_TESTS
-DIRS = test
+#DIRS = test
endif
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
diff --git a/mozilla/parser/htmlparser/robot/Makefile.in b/mozilla/parser/htmlparser/robot/Makefile.in
index c4afeb45abd..608eacb0520 100644
--- a/mozilla/parser/htmlparser/robot/Makefile.in
+++ b/mozilla/parser/htmlparser/robot/Makefile.in
@@ -32,7 +32,7 @@ SHORT_LIBNAME = dbgrobot
CPPSRCS = nsDebugRobot.cpp nsRobotSink.cpp
ifdef ENABLE_TESTS
-DIRS = test
+#DIRS = test
endif
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)