Bug 564669 disables test_texteditor_keyevent_handling.html on linux
☠☠ backed out by e5f1739ad7f1 ☠ ☠
authorMasayuki Nakano <masayuki@d-toybox.com>
Wed, 02 Jun 2010 17:05:34 +0900
changeset 43013 ae1773250d396bc89cd69631a404f3d34b41f2a2
parent 43012 634e1f2cf46c83024e09dd7af02f4901a1ed7276
child 43014 2e351d9a80cac71f4e7b4a14dba7500e4ac7f2ea
child 43081 e5f1739ad7f1883154657fd0e10d4bb048e32bb5
push idunknown
push userunknown
push dateunknown
bugs564669
milestone1.9.3a5pre
Bug 564669 disables test_texteditor_keyevent_handling.html on linux
editor/libeditor/text/tests/Makefile.in
--- a/editor/libeditor/text/tests/Makefile.in
+++ b/editor/libeditor/text/tests/Makefile.in
@@ -41,14 +41,21 @@ srcdir		= @srcdir@
 VPATH		= @srcdir@
 relativesrcdir  = editor/libeditor/text/tests
 
 include $(DEPTH)/config/autoconf.mk
 include $(topsrcdir)/config/rules.mk
 
 _TEST_FILES = \
 		test_bug471722.html \
+		$(NULL)
+
+# disables the key handling test on gtk2 because gtk2 overrides some key events
+# on our editor, and the combinations depend on the system.
+ifneq ($(MOZ_WIDGET_TOOLKIT),gtk2)
+_TEST_FILES += \
 		test_texteditor_keyevent_handling.html \
 		$(NULL)
+endif
 
 libs:: $(_TEST_FILES)
 	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)