Skip to content

A parallel and robust Vulkan Conformance Test Suite runner

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Flakebi/deqp-runner

Repository files navigation

Deqp Runer

Run the Vulkan Conformance Test Suite in parallel and robustly.

This is fork/rewrite of the mesa parallel deqp runner.

Features

  • Run tests in parallel
  • Recover from crashes (e.g. failing asserts)
  • Recover from timeouts
  • Save results even on fatal errors
  • Cross-platform
  • Automatically retry failing tests
  • Automatically bisect failures if they depend on a combination of tests
  • Save a junit compatible xml file of the results

Usage

Create a testlist.txt with one deqp test name per line. Run with

deqp-runner -t testlist.txt -- ./deqp-vk --deqp-caselist-file

A more complicated command:

deqp-runner -t testlist.txt \
	--timeout 10 \
	--jobs 2 \
	--shuffle \
	--no-progress \
	--start 50 \
	-- ./deqp-vk \
	--deqp-log-flush=disable \
	--deqp-log-images=disable \
	--deqp-log-shader-sources=disable \
	--deqp-surface-width=256 \
	--deqp-surface-height=256 \
	--deqp-surface-type=pbuffer \
	--deqp-gl-config-name=rgba8888d24s8ms0 \
	--deqp-caselist-file

Output

deqp-runner produces a number of output files to collect results and help finding driver issues.

  • summary.csv contains the result for every test.
  • summary.xml contains failures and flakes in the junit xml format for consumption by CI systems like Jenkins.
  • log.json is written while running. It contains a line for every run test, connecting it with the PID of deqp-vk, and timestamp and a failure directory containing more information. Tests that are run multiple times because they are flaky are listed multiple times.
  • fails contains one directory for every deqp-vk invocation that had failures. Every failure subdir contains the list of tests that were run for easy reproducibility and stderr of deqp-vk. log.json references failure subdirs for failed tests.

Build

Install Rust (preferred installation method is rustup) and build with cargo build --release. To install without cloning use cargo install --git https://github.com/Flakebi/deqp-runner.

License

Licensed under either of

at your option.

About

A parallel and robust Vulkan Conformance Test Suite runner

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Languages