summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Makefile.am15
-rw-r--r--test/show-glyphs-many.c9
2 files changed, 10 insertions, 14 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index f8db937c..d5c0f43c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -141,6 +141,7 @@ self-copy$(EXEEXT) \
self-copy-overlap$(EXEEXT) \
self-intersecting$(EXEEXT) \
set-source$(EXEEXT) \
+show-glyphs-many$(EXEEXT) \
show-text-current-point$(EXEEXT) \
skew-extreme$(EXEEXT) \
smask$(EXEEXT) \
@@ -197,19 +198,6 @@ zero-alpha$(EXEEXT)
# extend-reflect - Triggers an infinite (or near-infinite) bug in some
# X servers in some circumstances. Details and cause unknown.
#
-# show-glyphs-many - This stress test was exercising a particular bug
-# in the xlib surface code (exceeding the X11 protocol request
-# limit) when rendering several thousand glyphs at once. The
-# original xlib-surface bug is fixed now, but the test continues
-# to stress some other aspects of the test suite. For example,
-# when doing text as paths, the resuilting PostScript file is one
-# giant path that ghostscript has a particularly hard time
-# with. I'm disabling this test for now, since I don't care about
-# that performance problem in ghostscript. (But, there is a
-# similar performance problem when using cairo to rasterize the
-# equivalen giant path---from an SVG files say---so this might be
-# a useful kind of test to bring back again for performance (not
-# correctness) testing.
# text-glyph-range - This test triggers the following assertion in cairo:
#
# lt-text-glyph-range: cairo-scaled-font-subsets.c:350:
@@ -221,7 +209,6 @@ zero-alpha$(EXEEXT)
# that's just a bug in the test rig that should just consider
# the abort an XFAIL like any other.
DISABLED_TESTS = \
-show-glyphs-many$(EXEEXT) \
text-glyph-range$(EXEEXT)
# Then we have a collection of tests that are only run if certain
diff --git a/test/show-glyphs-many.c b/test/show-glyphs-many.c
index 9931a259..3af73f31 100644
--- a/test/show-glyphs-many.c
+++ b/test/show-glyphs-many.c
@@ -65,6 +65,15 @@
*
* Status: I replicated bug. The largest value of NUM_GLYPHS for
* which I saw success is 21842.
+ *
+ * 2008-30-08 Chris Wilson <chris@chris-wilson.co.uk>
+ * This is also a valid test case for:
+ *
+ * Bug 5913 crash on overlong string
+ * https://bugs.freedesktop.org/show_bug.cgi?id=5913
+ *
+ * which is still causing a crash in the Xlib backend - presumably, just
+ * a miscalculation of the length of the available request.
*/
#define TEXT_SIZE 12