blob: aaa3fc5ddf027128951bf87599291cfca27b6e58 [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
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -06009# vkbase tests that basic VK calls are working (don't return an error).
10./vkbase
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070011
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060012# vk_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage
13./vk_blit_tests
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070014
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060015# vk_image_tests check that image can be allocated and bound.
16./vk_image_tests
Courtney Goeltzenleuchter2953ed32014-12-08 13:17:04 -070017
Courtney Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060018#vk_render_tests tests a variety of features using rendered images
Courtney Goeltzenleuchter2953ed32014-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 Goeltzenleuchterd8e229c2015-04-08 15:36:08 -060021./vk_render_tests --compare-images
Tony Barbour15524c32015-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