| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This really needs some more generic treatment.
Update affected test outputs.
|
|
|
|
|
|
|
| |
Print out the items num_chars and char_offset, so we
can check that the char_offset implementation works.
Update affected test outputs.
|
|
|
|
|
|
|
|
|
| |
It is very annoying that gtest will dump its
random seed into the output as soon as one calls
g_test_init(). This pollutes our generated output.
Work around that by deferring the g_test_init()
call until after we've dealt with generating
output.
|
| |
|
|
|
|
|
| |
This wasn't working when passed a file
on the commandline. Fix that.
|
|
|
|
|
|
| |
For tests where the wrong fonts break things,
check that we have Cantarell, and skip them
if not.
|
|
|
|
|
| |
The return value of setlocale is only good until
the next call. Also, consistently use en_US.UTF-8.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When versions of Meson with bug
https://github.com/mesonbuild/meson/issues/7515 are no longer widespread,
the Pango test suite should diagnose which tests are skipped again.
Versions 0.55.0 to 0.55.2 inclusive have the bug; version 0.55.3 is OK.
This reverts commit 440f9c2609b7f5f9d8f65619b029a5eb660de88b.
Signed-off-by: Simon McVittie <smcv@debian.org>
|
|
|
|
| |
These were showing up as errors from lsan.
|
|
|
|
|
|
|
| |
meson 0.55 considers tests using it to be FAIL.
I disagree, but lets quietly skip until 0.55.1
is available.
|
|
|
|
|
| |
Create the PangoContext for the test after resetting the locale, and use
the en_US.utf8 name, as it seems to be the name used by Fedora.
|
|
|
|
|
| |
When dumping the diff between the computed and expected results, we need
to respect the TAP format and place "#" in front of each line.
|
|
|
|
| |
Just like test-layout.
|
|
|
|
|
|
|
|
| |
Do not use homegrown assertion and failure macros, when GTest has
perfectly functional API to deal with all the cases Pango covers.
Using GTest also allows us to rely on appropriate formatting for
results and logging.
|
|
|
|
|
|
|
| |
Use the same logic as PangoLayout for
filtering attributes.
Update expected output to match.
|
|
|
|
| |
These are clang warnings.
|
|
|
|
|
| |
Share the attribute printing code between
all the tests, update expected output to match.
|
| |
|
|
|
|
| |
Update existing tests.
|
|
This is similar to test-break in that it produces
useful output for understanding itemization.
Non testcases for now. One issue is that this,
like so many other tests is font-dependent.
|