Skip to content

Setting up Cherry

Dzmitry Malyshau edited this page May 31, 2018 · 3 revisions

Cherry is a browser-based GUI client and HTTP server for managing test case execution and browsing the results. Cherry requires a Go and MinGW installation, see their README for more information. Assuming the prerequisites have been installed and the CTS and portability ICD has been installed according to this page you can setup Cherry the following way:

C:\dev\test> git clone https://github.com/gfx-rs/cherry
C:\dev\test> mkdir cherry\data
C:\dev\test> cd VK-GL-CTS && python scripts/build_caselists.py ..\cherry\data && cd ..\

Set the VK_ICD_FILENAMES variable if not already in the path and run Cherry.

C:\dev\test> set VK_ICD_FILENAMES=C:\Dev\test\portability\libportability-icd\portability_debug.json
C:\dev\test> cd cherry && go run server.go

You should then be able to access Cherry by going to 127.0.0.1:8080.

Using Cherry

If you go to the Tests tab you can choose what device to run the tests with and select the test cases to test against.

unselected

In order to run any test you must select a device to use by clicking on the device "button" (make sure it has a green outline).

selected

Selecting the tests to run is done by exploring the tree of tests (only dEQP-VK!) and selecting them. NOTE: There are over 300000 tests in total, and running them all can take quite some time, make sure to test only what you need.

tests

Finally, run the tests!

execute

Clone this wiki locally