summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* meson: Install tests and additional dataEmmanuele Bassi2017-05-193-1/+130
|
* meson: Add a few missing things, minor fixes, TODONirbheek Chauhan2017-05-191-6/+6
|
* build: Add Meson build systemEmmanuele Bassi2017-05-191-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meson is a meta build system that is: - fast - simpler to understand and use - portable to multiple platforms through different backends - well integrated with the GNOME platform - well maintained Using Meson allows us to build Pango much more quickly, and on all the platforms we currently target, without any loss of functionality, compared to Autotools. Some timing comparisons with hot ccache for both build systems: * autogen.sh: * meson real 0m11.149s real 0m2.525s user 0m8.153s user 0m1.609s sys 0m2.363s sys 0m1.206s * make -j$(($(nproc) + 2)) * ninja real 0m9.186s real 0m3.387s user 0m16.295s user 0m6.887s sys 0m5.337s sys 0m1.318s -------------------------------------------------------------- * autotools * meson + ninja real 0m27.669s real 0m5.772s user 0m45.622s user 0m8.465s sys 0m10.698s sys 0m2.357s System: Intel Core i7-7500U, SSD, 16GB of RAM
* tests: Use the appropriate extension for the C++ testEmmanuele Bassi2017-05-192-1/+1
| | | | | | While `.C` is a valid GCC extension for C++ files, it only works for case sensitive file systems. Let's use `.cpp`, like the rest of the planet does.
* testattributes: Make it work with --enable-debug=noMatthias Clasen2015-10-031-11/+11
| | | | | | | g_assert gets neutered by --enable-debug=no, which is not what we want in tests. Use g_assert_true instead. https://bugzilla.gnome.org/show_bug.cgi?id=755126
* Give testcases distinct names1.37.4Matthias Clasen2015-09-011-1/+1
| | | | GLib enforces this now.
* [test] Use latin-only fontBehdad Esfahbod2015-09-011-0/+6
| | | | | Exposes an assertion failure: https://bugzilla.gnome.org/show_bug.cgi?id=541608
* Add more markup testsMatthias Clasen2015-08-222-0/+2
|
* [test] Add Thai and Arabic to test-pangocairo-threadsBehdad Esfahbod2015-08-181-1/+1
| | | | | Apparently libthai is not threadsafe. This crashes right away if libthai is enabled...
* Add a testcase for font-features in markupMatthias Clasen2015-08-143-0/+12
|
* Add some tests for markup with alphaMatthias Clasen2015-08-1415-0/+105
|
* Add test for glyphitem-iterBehdad Esfahbod2015-08-081-0/+52
| | | | Fails right now. Fix coming.
* MinorBehdad Esfahbod2015-08-081-6/+5
|
* Silence a few coverity warningsMatthias Clasen2015-07-171-1/+3
| | | | | | | coverity says: Using uninitialized value "index2". It didn't notice that the only time we can reach the index = index2 assignment with index2 still uninitialized is when we are never going to look at index again.
* [test] Include headerBehdad Esfahbod2015-05-041-0/+1
|
* [test] Fix line number reportingBehdad Esfahbod2015-04-061-1/+1
|
* Speed up test-pangocairo-threadsBehdad Esfahbod2015-04-051-2/+2
|
* Kill unused pangorc fileKhaled Hosny2015-04-042-10/+1
|
* Add tests for PangoAttributesMatthias Clasen2015-03-132-0/+637
| | | | | These tests exercise PangoAttribute, PangoAttrList and PangoAttrIterator apis.
* Split out some test functionsMatthias Clasen2015-03-134-169/+240
| | | | These will be reused later.
* Update expected test resultsMatthias Clasen2014-09-192-8/+8
| | | | | Update the expected output of the layout tests to the previous change.
* Don't compare fonts in the layout testMatthias Clasen2014-09-191-1/+1
| | | | | For some reason (that I haven't been able to track down), this fails in the installed tests on build.gnome.org.
* Add some tests for PangoFontDescriptionMatthias Clasen2014-09-082-0/+94
| | | | This just a small beginning, much more is needed here.
* Try to fix the test on build.gnome.orgMatthias Clasen2014-09-061-4/+6
| | | | | | For some reason, the test-layout test does not show the font size when run on build.gnome.org. Try harder to make it use the Cantarell 11 font that I want it to use.
* layout tests: Adapt expected outputMatthias Clasen2014-09-031-1/+1
| | | | | We see the 'ellipsized' analysis flag in the output now, as we should.
* test-layout: Better error reportingMatthias Clasen2014-09-031-8/+62
| | | | | Run diff over the output to give a meaningful error if the comparison fails.
* Add tests for PangoLayoutMatthias Clasen2014-08-306-3/+580
| | | | | | This tests works similar to the markup parser tests - we populate a layout with known data, and then compare a dump of its properties with expected output.
* Add tests for pango markupMatthias Clasen2014-08-2812-3/+360
| | | | | | | | | | This test is modeled after the GMarkup parser tests in GLib. Test file with a name ending in .markup can be dumped in tests/markups/, and tests/markup-parse can be used to generate the expected output files which should be in the same location and with the extension .markup replaced by .expected. The test is also used as an installed test.
* testsuite: put installed tests in the right placeMatthias Clasen2014-05-311-2/+2
| | | | | | Follow the prevailing practice and put the installed tests into $libdir/installed-tests/$PACKAGE instead of $pkglibdir/installed-tests.
* Fix tests for builddir != srcdir by setting G_TEST_{SRC,BUILD}DIRIain Lane2014-02-071-0/+2
|
* Avoid hard-dep on bleeding-edge GLibMatthias Clasen2013-06-073-0/+22
| | | | | | If new test api is not available, do without it. In this case, the tests won't work installed, but they should still work uninstalled and in distcheck.
* Make tests installableMatthias Clasen2013-05-317-58/+121
| | | | This ensures that tests are run continuously on ostree.gnome.org.
* [test] Fix scaleBehdad Esfahbod2013-03-151-1/+1
|
* Use g_snprintf()Behdad Esfahbod2013-03-151-1/+1
|
* Put g_type_init() back inBehdad Esfahbod2013-01-081-0/+4
|
* Remove unused macrosBehdad Esfahbod2013-01-081-24/+0
|
* MinorBehdad Esfahbod2013-01-081-1/+1
|
* Avoid compiler warnings in testiter.cMatthias Clasen2013-01-071-4/+1
| | | | | Drop an unused variable, and don't call the deprecated pango_cairo_font_map_create_context().
* Avoid a compiler warningMatthias Clasen2013-01-071-0/+2
| | | | ifdef out a function whose only use is already ifdef'ed out.
* Ignore deprecations in test-ot-tagsMatthias Clasen2013-01-071-0/+6
| | | | | This entire test is about the deprecated OpenType API. Not much we can do except ignoring deprecations.
* Fix last leak in test-pangocairo-threadsBehdad Esfahbod2013-01-071-1/+3
|
* Fix test leaksBehdad Esfahbod2013-01-071-0/+16
| | | | | Valgrinding.... Apparently somewhere some memory corruption happens. Argh...
* Make test-pangocairo-threads stress fontconfig moreBehdad Esfahbod2013-01-071-5/+6
|
* Enable test-pangocairo-threads by defaultBehdad Esfahbod2013-01-042-2/+3
| | | | | | | Using 100 threads and 100 iterations per thread. Only passes with fontconfig master. We will get a release made and required soon...
* Improve test-pangocairo-threadsBehdad Esfahbod2013-01-041-13/+49
| | | | | Can be run standalone now, compares the output of all threads and fails if they mismatch.
* Refactor test-pangocairo-threads.cBehdad Esfahbod2013-01-041-18/+26
|
* Improve test-pangocairo-threadsBehdad Esfahbod2013-01-041-9/+19
|
* Update test-pangocairo-threads to new threads APIBehdad Esfahbod2013-01-031-19/+13
|
* Add test-pangocairo-threads.cBehdad Esfahbod2013-01-032-1/+76
| | | | | Currently is not run automatically. But run it with args "10 100" and see it crash...
* Add GraphemeBreakTest.txt to the treeBehdad Esfahbod2012-12-022-1/+363
| | | | | | All tests in that file pass, lets keep it that way. This is as of Unicode 6.1.0. 6.2 needs more work.