summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-02-24 16:24:49 -0600
committerDudemanguy <random342@airmail.cc>2023-03-02 15:45:27 +0000
commit3535e326dcb8b7d46e2fa9c43ec330d348a4bf6e (patch)
tree118d30eff3f0e2437fc6f8a3f2d77adc66a37933 /player
parent3eae9d6c0fdfd49d38a90ab53f23fcd533df0a58 (diff)
downloadmpv-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.c6
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)
{