blob: a0c59b51885b4aba88f9176a751d7d400cdced69 [file] [log] [blame]
#!/bin/bash
#
# Run all the regression tests
cd $(dirname "$0")
# Halt on error
set -e
# vkbase tests that basic VK calls are working (don't return an error).
./vkbase
# vk_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage
./vk_blit_tests
# vk_image_tests check that image can be allocated and bound.
./vk_image_tests
#vk_render_tests tests a variety of features using rendered images
# --compare-images will cause the test to check the resulting image against
# a saved "golden" image and will report an error if there is any difference
./vk_render_tests --compare-images
# vk_layer_validation_tests check to see that validation layers will
# catch the errors that they are supposed to by intentionally doing things
# that are wrong
./vk_layer_validation_tests
# vktracereplay.sh tests vktrace trace and replay
./vktracereplay.sh
# vk_layer_documentation_generate.py is run from the project root dir
# the --validate option will verify that checks documented in layer header
# files match those documented in layer/vk_validation_layer_details.md
./vkvalidatelayerdoc.sh