Coder Social home page Coder Social logo

deqp-runner's Introduction

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.

deqp-runner's People

Contributors

flakebi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.