blob: efd70a195fa9fe69a56221fc38d6e0f4d4183682 [file] [log] [blame]
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -07001#!/bin/bash
2#
3# Run all the regression tests
Chris Forbesd8eb5812015-05-25 11:13:03 +12004cd $(dirname "$0")
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -07005
Cody Northropb11acd02015-05-14 15:26:07 -06006# Halt on error
7set -e
8
Tobin Ehlisc251bdb2015-10-27 16:42:24 -06009# Verify that validation checks in source match documentation
10./vkvalidatelayerdoc.sh
11
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060012# vkbase tests that basic VK calls are working (don't return an error).
13./vkbase
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070014
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060015# vk_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage
16./vk_blit_tests
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070017
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060018# vk_image_tests check that image can be allocated and bound.
19./vk_image_tests
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070020
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060021#vk_render_tests tests a variety of features using rendered images
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070022# --compare-images will cause the test to check the resulting image against
23# a saved "golden" image and will report an error if there is any difference
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060024./vk_render_tests --compare-images
Tony Barbour15524c32015-04-29 17:34:29 -060025
26# vk_layer_validation_tests check to see that validation layers will
27# catch the errors that they are supposed to by intentionally doing things
28# that are wrong
29./vk_layer_validation_tests
David Pinedo4e886bf2015-06-30 15:37:50 -060030
Mark Lobodzinski3a77cbc2015-08-14 14:24:50 -060031# vktracereplay.sh tests vktrace trace and replay
32./vktracereplay.sh
Tobin Ehlis12d4c6a2015-08-31 12:42:38 -060033