1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/test
Dudemanguy 9db818279a test: integrate unittests with meson
This reworks all of mpv's unit tests so they are compiled as separate
executables (optional) and run via meson test. Because most of the tests
are dependant on mpv's internals, existing compiled objects are
leveraged to create static libs and used when necessary. As an aside, a
function was moved into video/out/gpu/utils for sanity's sake (otherwise
most of vo would have been needed). As a plus, meson multithreads
running tests automatically and also the output no longer pollutes the
source directory. There are tests that can break due to ffmpeg changes,
so they require a specific minimum libavutil version to be built.
2023-03-02 15:45:27 +00:00
..
ref test: update ffmpeg format refs 2023-03-02 15:45:27 +00:00
chmap.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
gl_video.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
img_format.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
img_utils.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
img_utils.h test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
json.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
libmpv_test.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
linked_list.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
meson.build test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
paths.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
repack.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
scale_sws.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
scale_test.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
scale_test.h test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
scale_zimg.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
test_utils.c test: integrate unittests with meson 2023-03-02 15:45:27 +00:00
test_utils.h test: integrate unittests with meson 2023-03-02 15:45:27 +00:00