Files
filament/test/backend/README.md
Powei Feng 6caf88d3aa github: add backend tests to presbumit (gl/vk) (#9344)
This commit enables running the backend tests for opengl and
vulkan on github CI. The script is located in test/backend.

We also add exceptions (SKIP_TEST) for the currently failing
tests.  Issues have been filed to track addressing these failed
tests.

We also disable a series of broken webgpu tests.
2025-10-22 10:21:55 -07:00

698 B

Backend Tests

This directory contains scripts to run Filament's backend tests using a software rasterizer (Mesa). This is useful for running tests in a continuous integration environment where a GPU might not be available.

The test.sh script will:

  1. Build Mesa if needed.
  2. Build the backend tests.
  3. Run the tests using the OpenGL and Vulkan backends with Mesa.

Flags

The test.sh script accepts the following flags:

  • --gtest_filter: Filters the tests that are run. This is passed directly to the underlying gtest executable.
  • --backend: Specifies which backend to test. Can be opengl, vulkan, or a comma-separated list (e.g., opengl,vulkan). Defaults to both.