| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
test-break has a helpful text that explains
the maining of the output. Unfortunately,
the --help option is taken by g_test_init(),
so make this available with --legend.
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
test-break was leaking memory in various places,
in particular when tests are skipped.
|
|
|
|
| |
These were showing up as errors from lsan.
|
|
|
|
|
|
| |
Revert 97778b40daedac08f6, since it sadly broke
running our testsuite which does pass arguments like
-k and --tap.
|
|
|
|
|
| |
Use test-break --help to get a legend for the
codes used in the output.
|
|
|
|
|
|
| |
When we are generating expected output, don't
init the tests, so we can avoid the random seed
and # in the output.
|
|
|
|
|
|
|
| |
meson 0.55 considers tests using it to be FAIL.
I disagree, but lets quietly skip until 0.55.1
is available.
|
|
|
|
|
|
|
|
| |
Try to make test-break not fail on my system. First
I made it skip tests that produce missing glyphs,
then I made it call setlocale(). In the end, I needed
to just install the right Thai fonts. But these
fixes are still useful.
|
|\
| |
| |
| |
| | |
For master
See merge request GNOME/pango!184
|
| |
| |
| |
| |
| | |
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 and test-itemize.
|
|\ \
| |/
|/|
| |
| | |
tests/test-break.c: Only test Thai breaks with libthai available
See merge request GNOME/pango!161
|
| |
| |
| |
| |
| |
| | |
The four.break test data file involves the Thai language, meaning that
this test will fail unless we have libthai. Skip this test unless
libthai is found.
|
|/
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
pango_get_log_attrs does not apply allow-break attributes.
|
|
|
|
|
|
| |
test-break was using the is_soft_hyphen log attr
that we've just removed again. Adapt, and update
expected test output.
|
|
|
|
| |
This alternative is not useful.
|
|
|
|
| |
This is useful for documenting tests.
|
|
|
|
|
| |
We were not diffing the output against the
expected results.
|
|
This is useful for exploring line breaking.
|