Behdad Esfahbod
6a5d66f651
Go back to "!!!CRASHED!!!" message now that there's no confusion.
2006-07-13 18:53:25 -04:00
Behdad Esfahbod
6c7099b0cc
Only generate HTML for log files passed on the command line.
...
With the make bits already in place, this means that make retest
creates HTML for only the retested tests.
2006-07-13 18:50:14 -04:00
Carl Worth
4b22cb41a9
Use 'FAIL' instead of 'UNEXPECTED FAILURE' in test output.
...
There's no ambiguity anymore due to duplicated printing, so go
back to the classic, and easier to read wording.
2006-07-13 15:23:06 -07:00
Carl Worth
b2d04d7f1a
Rename no_fail_on_stdout to eliminate confusing negative inside a Boolean variable name
2006-07-13 15:21:02 -07:00
Carl Worth
ff1280ce98
cairo-test.c: Prefer FALSE and TRUE for cairo_bool_t values.
2006-07-13 15:17:57 -07:00
Behdad Esfahbod
ebc7367306
Fix test result formatting.
2006-07-13 18:18:08 -04:00
Behdad Esfahbod
b2668e944d
Use cairo_bool_t.
2006-07-13 14:02:58 -04:00
Behdad Esfahbod
601c0503f7
Send grep errors to hell^Wnull.
2006-07-13 13:37:47 -04:00
Behdad Esfahbod
09dfae5fbf
Don't write FAIL messages on stdout if both stdout/err are going to screen.
2006-07-13 13:37:47 -04:00
Carl Worth
d2d9a74c77
Add dash-no-dash test case to demonstrate PDF failure to turn off dashing.
2006-07-13 10:14:26 -07:00
Carl Worth
f3d45d1790
Eliminate a few simple compiler warnings
2006-07-13 10:14:26 -07:00
Behdad Esfahbod
da0f348350
***cworth finds them [the background colors] a bit too bright
2006-07-13 13:16:10 -04:00
Behdad Esfahbod
cf1b23a4c5
Add prototype for draw in each test file and remove it from the header.
2006-07-13 12:58:24 -04:00
Behdad Esfahbod
0ac2bbbf52
Improve test HTML generation:
...
- Make "make retest" not generate all .log files.
- Format improvements in the generated HTML file.
2006-07-13 11:27:05 -04:00
Behdad Esfahbod
973d3a3d14
More test suite infrastructure improvements:
...
- Remove cairo_test_expect_failure. cairo-test.c now checks
env var CAIRO_XFAIL_TESTS to see if the running test is
expected to fail. The reason for expected failure is
appended to the test description.
- Test description is written out.
- Failed/crashed tests also write a line out to stderr (in red),
so one can now redirect stdout to /dev/null to only see failures.
- cairo_test() has been changed to not take the draw function
anymore, instead, draw function is now part of the test struct.
- "make check" doesn't allow limiting backends to test using env
var anymore. To limit backends to test, one should use the
TARGETS variable on the make command line.
- "make check-valgrind" now writes its log to valgrind-log instead
of valgrind.log, to not interfere with test log file processing.
2006-07-11 22:19:39 -04:00
Behdad Esfahbod
94bdbc15f7
Improve test suite build infrastructure
...
- Add new target recheck, that checks only failed tests
- Add targets test and retest, and make html after (re)checking
- Make targets html and index.html lazy, only update if any tests changed
- Improve build system such that checking one test (using TESTS=...) doesn't
build all tests
- Remove pixman-rotate from XFAIL
2006-07-11 17:27:08 -04:00
Behdad Esfahbod
c45a932175
Use Bitstream Vera Sans and Latin text in ft-text-vertical.
...
We don't really rely on the Japanese text and font, as FreeType
synthesizes vertical metrics for all fonts.
2006-07-11 16:07:13 -04:00
Behdad Esfahbod
95016b3274
Make CAIRO_TEST_TARGET="" make check pass tests.
2006-07-06 13:48:18 -04:00
Behdad Esfahbod
f90182fe2a
Update test/README
2006-07-06 13:42:25 -04:00
Behdad Esfahbod
83dcbe05b5
For check-valgrind, call the version of libtool in our source distribution,
...
not the one found in PATH.
2006-07-05 04:29:54 +02:00
Behdad Esfahbod
1cb0bc40a3
Do not use sighandler_t. Bug 7401.
2006-07-05 04:22:32 +02:00
Carl Worth
cea70741e8
Add src/cairo-features.h and test/*.ps to CLEANFILES
2006-07-01 03:24:21 +02:00
Carl Worth
55b5fedbc1
Add many references images (and a font) missing from EXTRA_DIST
2006-07-01 03:06:26 +02:00
Behdad Esfahbod
01b1f3572c
Detect and report crashes in tests.
2006-07-01 02:07:28 +02:00
Carl Worth
19c4700101
Even _more_ valgrind suppresions for Xrm (XrmGetFileDatabase this time)
2006-07-01 01:05:30 +02:00
Carl Worth
35ec5747ca
Add yet another XrmGetStringDatabase valgrind suppression.
2006-07-01 00:38:06 +02:00
Carl Worth
80cb0d5ba1
Fix some leaks in the test suite itself.
2006-07-01 00:37:44 +02:00
Carl Worth
14e7883fae
Fix a memory leak by removing accidentally duplicated code.
2006-07-01 00:00:43 +02:00
Carl Worth
8919b6b324
Add valgrind suppressions for pthread initialization still reachable/possibly lost memory
2006-06-30 23:24:23 +02:00
Carl Worth
98cc1651cf
Add valgrind suppressions for still-reachable memory from XGetDefault and XrmGetStringDatabase
2006-06-30 23:21:06 +02:00
Carl Worth
f6b10a6aab
Add another suppression due to mysterious occurences in libc
2006-06-30 23:06:56 +02:00
Carl Worth
0853ccd053
Add new libz/libpng suppressions.
...
It would appear we have to keep updating these for new library versions.
2006-06-30 22:58:36 +02:00
Carl Worth
ee75e1e685
Add ps-specific reference image for test/degenerate-path
2006-06-30 17:07:42 +02:00
Carl Worth
54ce585817
Update PDF-specific reference image for scale-source-surface-paint
2006-06-30 16:10:54 +02:00
Carl Worth
a6fc321d17
Add PDF-specific reference image for paint-source-alpha
2006-06-30 16:10:54 +02:00
Carl Worth
aaef92f830
Add PDF-specific reference image for composite-integer-translate-over
2006-06-30 16:10:53 +02:00
Behdad Esfahbod
195b1142e7
Prefix "cairo_*_test_*" symbols with underscore.
2006-06-29 15:22:44 +02:00
Carl Worth
8effd25c1b
Update PDF and PS reference images for test/text-pattern.
2006-06-29 06:25:24 +02:00
Carl Worth
a64b946ee0
Mark test/leaky-dash as an expected failure.
2006-06-29 06:24:44 +02:00
Carl Worth
734e10709f
Add several more stress tests to test/dash-zero-length
2006-06-29 06:12:48 +02:00
Keith Packard
20e3a99bba
Skip TrueType font output for PS/PDF until it handles vertical layout.
...
The TrueType font subsetting code fails to emit VHEA/VMTX headers for the
font, so WMode 1 doesn't work to switch to vertical metrics. Added a bug
about this, and changed the PS/PDF output code to just use Type3 in this
case until the bug is fixed. Updated the reference images to match the
output for PDF/PS backends for the vertical font check.
2006-06-29 04:10:35 +02:00
Carl Worth
2e2799d4f9
Ignore degenerate-path
2006-06-29 02:41:46 +02:00
Carl Worth
c90cc4e33f
Update reference images for ft-text-vertical-layout
2006-06-29 02:41:17 +02:00
Jeff Muizelaar
20df4af126
Add new test case degenerate-path to show current 'bug'
2006-06-25 15:48:48 +02:00
Carl Worth
d2ea21b4ae
ft-text-antialias-none: Update reference images and igore list.
...
Add a new ps reference image due to slightly different rasterization. Also
update pdf and svg backends to ignore this test since those backends do not
support ANTIALIAS_NONE.
Note in ROADMAP that bug 6759 is fixed now.
2006-06-25 11:48:32 +02:00
Robert O'Callahan
ddead8e061
Surface size getters for xlib
...
When accessing the underlying drawable etc of an xlib surface, it is
also helpful to be able to get the width and height without a server
round trip. This patch provides those functions.
2006-06-25 11:23:43 +02:00
Carl Worth
7e457cb4c1
Bug 6955: Fix by adding freeze/thaw around scaled_font glyph cache in _cairo_xlib_surface_show_glyphs
2006-06-22 22:32:57 -07:00
Carl Worth
6a58658b73
Add test/glyph-cache-pressure to demonstrate xlib failure (bug 6955)
2006-06-22 22:05:20 -07:00
Behdad Esfahbod
f71313d427
Minor refinements, mostly to configure.in.
2006-06-21 07:05:14 -04:00
Carl Worth
cca08d9bce
New bitmap-font test with bundled 6x13 font.
...
The 6x13 font is a public-domain terminal font from the X
distribution.
2006-06-20 17:48:06 -07:00