# Video Decoder tests The video decoder tests are a set of tests used to validate various video decoder implementations. Multiple scenarios are tested, and the resulting decoded frames are validated against known checksums. These tests run directly on top of the video decoder implementation, and don't require the full Chrome browser stack. They can be very useful when adding support for a new codec or platform, or to make sure code changes don't break existing functionality. They are build on top of the [GoogleTest](https://github.com/google/googletest/blob/main/README.md) framework. [TOC] ## Running from Tast The Tast framework provides an easy way to run the video decoder tests from a ChromeOS chroot. Test data is automatically deployed to the device being tested. To run all video decoder tests use: tast run $HOST video.DecodeAccelH264* video.DecodeAccelVP* Wildcards can be used to run specific sets of tests: * Run all VP8 tests: `tast run $HOST video.DecodeAccelVP8*` * Run all VP9 profile 2 tests: `tast run $HOST video.DecodeAccelVP92*` Check the [tast video folder](https://chromium.googlesource.com/chromiumos/platform/tast-tests/+/refs/heads/main/src/chromiumos/tast/local/bundles/cros/video/) for a list of all available tests. See the [Tast quickstart guide](https://chromium.googlesource.com/chromiumos/platform/tast/+/HEAD/docs/quickstart.md) for more information about the Tast framework. ## Running manually To run the video decoder tests manually the _video_decode_accelerator_tests_ target needs to be built and deployed to the device being tested. Running the video decoder tests can be done by executing: ./video_decode_accelerator_tests [