blob: a0c59b51885b4aba88f9176a751d7d400cdced69 [file] [log] [blame]
Courtney Goeltzenleuchter539bf162014-12-08 13:17:04 -07001#!/bin/bash
2#
3# Run all the regression tests
Chris Forbes9dfff2c2015-05-25 11:13:03 +12004cd $(dirname "$0")
Courtney Goeltzenleuchter539bf162014-12-08 13:17:04 -07005
Cody Northropc8a71662015-05-14 15:26:07 -06006# Halt on error
7set -e
8
Courtney Goeltzenleuchter9cc421e2015-04-08 15:36:08 -06009# vkbase tests that basic VK calls are working (don't return an error).
10./vkbase
Courtney Goeltzenleuchter539bf162014-12-08 13:17:04 -070011
Courtney Goeltzenleuchter9cc421e2015-04-08 15:36:08 -060012# vk_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage
13./vk_blit_tests
Courtney Goeltzenleuchter539bf162014-12-08 13:17:04 -070014
Courtney Goeltzenleuchter9cc421e2015-04-08 15:36:08 -060015# vk_image_tests check that image can be allocated and bound.
16./vk_image_tests
Courtney Goeltzenleuchter539bf162014-12-08 13:17:04 -070017
Courtney Goeltzenleuchter9cc421e2015-04-08 15:36:08 -060018#vk_render_tests tests a variety of features using rendered images
Courtney Goeltzenleuchter539bf162014-12-08 13:17:04 -070019# --compare-images will cause the test to check the resulting image against
20# a saved "golden" image and will report an error if there is any difference
Courtney Goeltzenleuchter9cc421e2015-04-08 15:36:08 -060021./vk_render_tests --compare-images
Tony Barbour0c1bdc62015-04-29 17:34:29 -060022
23# vk_layer_validation_tests check to see that validation layers will
24# catch the errors that they are supposed to by intentionally doing things
25# that are wrong
26./vk_layer_validation_tests
David Pinedo1405a432015-06-30 15:37:50 -060027
Mark Lobodzinskif39d70c2015-08-14 14:24:50 -060028# vktracereplay.sh tests vktrace trace and replay
29./vktracereplay.sh
Tobin Ehlis236717c2015-08-31 12:42:38 -060030
31# vk_layer_documentation_generate.py is run from the project root dir
32# the --validate option will verify that checks documented in layer header
33# files match those documented in layer/vk_validation_layer_details.md
34./vkvalidatelayerdoc.sh
35