Skip to content

Commit

Permalink
encoder/h264/vaapi: do not run VAAPI tests by default
Browse files Browse the repository at this point in the history
These tests cannot run unless VAAPI-compatible hardware is available and
will break CI.
  • Loading branch information
Gnurou committed Feb 1, 2024
1 parent bb8ed95 commit 8b40314
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/encoder/stateless/h264/vaapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ pub(super) mod tests {
use crate::Resolution;

#[test]
// Ignore this test by default as it requires libva-compatible hardware.
#[ignore]
fn test_simple_encode_slice() {
type Descriptor = ();
type Surface = libva::Surface<Descriptor>;
Expand Down Expand Up @@ -629,6 +631,8 @@ pub(super) mod tests {
}

#[test]
// Ignore this test by default as it requires libva-compatible hardware.
#[ignore]
fn test_vaapi_encoder() {
type VaapiH264Encoder<'l> =
StatelessEncoder<PooledSurface<()>, VaapiBackend<(), PooledSurface<()>>>;
Expand Down

0 comments on commit 8b40314

Please sign in to comment.