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 | |
Courtney Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 9 | # vkbase tests that basic VK calls are working (don't return an error). |
| 10 | ./vkbase |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 11 | |
Courtney Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 12 | # vk_blit_tests test Fill/Copy Memory, Clears, CopyMemoryToImage |
| 13 | ./vk_blit_tests |
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_image_tests check that image can be allocated and bound. |
| 16 | ./vk_image_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_render_tests tests a variety of features using rendered images |
Courtney Goeltzenleuchter | 2953ed3 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 19 | # --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 Goeltzenleuchter | d8e229c | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 21 | ./vk_render_tests --compare-images |
Tony Barbour | 15524c3 | 2015-04-29 17:34:29 -0600 | [diff] [blame] | 22 | |
| 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 |