diff options
author | Dudemanguy <random342@airmail.cc> | 2023-02-24 16:24:49 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-03-02 15:45:27 +0000 |
commit | 3535e326dcb8b7d46e2fa9c43ec330d348a4bf6e (patch) | |
tree | 118d30eff3f0e2437fc6f8a3f2d77adc66a37933 /player | |
parent | 3eae9d6c0fdfd49d38a90ab53f23fcd533df0a58 (diff) | |
download | mpv-3535e326dcb8b7d46e2fa9c43ec330d348a4bf6e.tar.bz2 mpv-3535e326dcb8b7d46e2fa9c43ec330d348a4bf6e.tar.xz |
player: remove unittest option
Since meson has its own unit testing system, let's rework mpv's tests so
they integrate nicely with this. To prepare for this, start off by
dropping the unittest option. Of course, this means that tests will no
longer be supported in the waf build at all but it will be dropped
anyway. Note that the tests option is preserved for the meson build. We
will still make use of this in the future commits.
Diffstat (limited to 'player')
-rw-r--r-- | player/main.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/player/main.c b/player/main.c index 1dde63e31f..509f96ac5f 100644 --- a/player/main.c +++ b/player/main.c @@ -61,7 +61,6 @@ #include "audio/out/ao.h" #include "misc/thread_tools.h" #include "sub/osd.h" -#include "test/tests.h" #include "video/out/vo.h" #include "core.h" @@ -385,11 +384,6 @@ int mp_initialize(struct MPContext *mpctx, char **options) check_library_versions(mp_null_log, 0); -#if HAVE_TESTS - if (opts->test_mode && opts->test_mode[0]) - return run_tests(mpctx) ? 1 : -1; -#endif - if (!mpctx->playlist->num_entries && !opts->player_idle_mode && options) { |