[vlc-commits] [Git][videolan/vlc][master] test: player: abloop: fix spurius failure
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Thu Dec 18 20:46:07 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
b0c038f2 by Thomas Guillem at 2025-12-18T21:05:41+01:00
test: player: abloop: fix spurius failure
Check for a minimum of seek count.
The test waited for a given seek count then stopped, but we can't
control how long the player is continuing to play and if it will hit a
last abloop during the small stopping time lapse.
Fixes #29503
- - - - -
1 changed file:
- test/src/player/abloop.c
Changes:
=====================================
test/src/player/abloop.c
=====================================
@@ -115,7 +115,11 @@ test_abloop_scenario(struct ctx *ctx, const struct abloop_scenario *scenario)
}
seek_count++;
}
- assert(seek_count == scenario->seek_count);
+
+ if (scenario->wait_stopped)
+ assert(seek_count == scenario->seek_count);
+ else
+ assert(seek_count >= scenario->seek_count);
test_end(ctx);
player_remove_timer(player, &timer);
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0c038f24fa4294cb8e2cbce885a1eadfd717606
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b0c038f24fa4294cb8e2cbce885a1eadfd717606
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list