1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00
vlc/test
Thomas Guillem 08950258ef test: add clock test
Possible to run all tests (by default from the test suite):

vlc/build-linux/test $ ./test_src_clock_clock
[normal]: checking that normal update has a coeff of 1.0f
[lowprecision]: checking that low precision update has a coeff near 1.0f
[drift_72]: checking that a drift of 72ms in 2h is handled
[drift_-72]: checking that a drift of -72ms in 2h is handled
[drift_864]: checking that a drift of 864ms in 24h is handled
[drift_-864]: checking that a drift of -864ms in 24h is handled
[drift_sudden]: checking that a sudden drift is handled

Or run one test with traces:

./test_src_clock_clock lowprecision --tracer=json --json-tracer-file=foo.trace -vv

The test fake the timestamps that are sent to the default tracer to
behave like a live playback.

One possible future scenario would be to feed the clock with real points
taken from a real 24h live-streaming playback.
2023-10-28 14:40:34 +00:00
..
dynamicoverlay remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
libvlc test: libvlc/media: avoid potential sprintf overflow 2023-10-20 11:07:58 +00:00
modules test/opengl: filters: fix file header 2023-08-22 19:38:18 +00:00
samples test: rename meta.test to meta.mp3 2021-04-28 10:24:24 +00:00
src test: add clock test 2023-10-28 14:40:34 +00:00
.gitignore test: expand gitignoring test binaries 2020-10-06 14:21:51 +02:00
check_POTFILES.sh test: check POTFILES.in in test suite 2014-01-09 20:57:01 +02:00
dump_stacktraces.sh CI: use distcheck exclusively for building/testing 2022-11-26 07:18:15 +00:00
iosvlc.m test: don't define MODULE_STRING 2023-03-07 08:23:15 +00:00
Makefile.am test: add clock test 2023-10-28 14:40:34 +00:00
meson.build test: meson.build: add TOP_SRCDIR in defines 2023-08-11 16:01:40 +00:00
run_vlc.sh test: run_vlc.sh: Don't override existing ASAN_OPTIONS 2019-12-02 17:33:43 +01:00
TODO Test some things 2006-01-29 19:13:35 +00:00
vlc-demux-libfuzzer.c test: demux-libfuzzer: initialize libvlc only once 2019-02-23 10:16:39 +01:00
vlc-demux-run.c test: input: fix demux-run usage 2017-11-11 19:06:34 +01:00
vlc-window.c window: rename <vlc_vout_window.h> to <vlc_window.h> 2022-05-16 16:51:03 +00:00