Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Run all the regression tests |
Chris Forbes | d8eb581 | 2015-05-25 11:13:03 +1200 | [diff] [blame] | 4 | cd $(dirname "$0") |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 5 | |
Cody Northrop | b11acd0 | 2015-05-14 15:26:07 -0600 | [diff] [blame] | 6 | # Halt on error |
| 7 | set -e |
| 8 | |
Tobin Ehlis | c251bdb | 2015-10-27 16:42:24 -0600 | [diff] [blame^] | 9 | # Verify that validation checks in source match documentation |
| 10 | ./vkvalidatelayerdoc.sh |
| 11 | |
Courtney Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 12 | # vkbase tests that basic VK calls are working (don't return an error). |
| 13 | ./vkbase |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 14 | |
Courtney Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 15 | # vk_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage |
| 16 | ./vk_blit_tests |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 17 | |
Courtney Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 18 | # vk_image_tests check that image can be allocated and bound. |
| 19 | ./vk_image_tests |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 20 | |
Courtney Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 21 | #vk_render_tests tests a variety of features using rendered images |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 22 | # --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 Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 24 | ./vk_render_tests --compare-images |
Tony Barbour | 15524c3 | 2015-04-29 17:34:29 -0600 | [diff] [blame] | 25 | |
| 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 Pinedo | 4e886bf | 2015-06-30 15:37:50 -0600 | [diff] [blame] | 30 | |
Mark Lobodzinski | 3a77cbc | 2015-08-14 14:24:50 -0600 | [diff] [blame] | 31 | # vktracereplay.sh tests vktrace trace and replay |
| 32 | ./vktracereplay.sh |
Tobin Ehlis | 12d4c6a | 2015-08-31 12:42:38 -0600 | [diff] [blame] | 33 | |