• Show log

    Commit

  • Hash : 6f273f68
    Author : David Turner
    Date : 2021-06-15T23:12:57

    [meson] Add first regression test to FreeType * tests/README.md: documentation explaining how to build and run the tests with the Meson build. * tests/scripts/download-test-fonts.sh: Simple script to download test font files to the 'tests/data/' folder. * meson.build, meson_options.txt, tests/meson.build: Add 'tests' option to enable building and running the test programs, disabled by default. * tests/issue-1063/main.c: Simple regression test to exhibit issue 1063. * .gitignore: Ignore the content of the tests/data/ folder for now.

  • README.md

  • Unit and regression tests for the FreeType library

    Quick Start

    Download test fonts

    Run the tests/scripts/download-fonts.sh script, which will download test fonts to the tests/data/ directory first.

    Build the test programs

    The tests are only built with the Meson build system, and are disabled by default, enable the ‘tests’ option to compile them, as in:

    meson setup out -Dtests=enabled meson compile -C out

    Run the test programs

    meson test -C out