| Courtney Goeltzenleuchter | 539bf16 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 1 | #!/bin/bash | 
 | 2 | # | 
 | 3 | # Run all the regression tests | 
| Chris Forbes | 9dfff2c | 2015-05-25 11:13:03 +1200 | [diff] [blame] | 4 | cd $(dirname "$0") | 
| Courtney Goeltzenleuchter | 539bf16 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 5 |  | 
| Cody Northrop | c8a7166 | 2015-05-14 15:26:07 -0600 | [diff] [blame] | 6 | # Halt on error | 
 | 7 | set -e | 
 | 8 |  | 
| Tobin Ehlis | b898f4d | 2015-10-27 16:42:24 -0600 | [diff] [blame] | 9 | # Verify that validation checks in source match documentation | 
 | 10 | ./vkvalidatelayerdoc.sh | 
 | 11 |  | 
| Courtney Goeltzenleuchter | 9cc421e | 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 | 539bf16 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 14 |  | 
| Courtney Goeltzenleuchter | 9cc421e | 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 | 539bf16 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 17 |  | 
| Courtney Goeltzenleuchter | 9cc421e | 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 | 539bf16 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 20 |  | 
| Courtney Goeltzenleuchter | 9cc421e | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 21 | #vk_render_tests tests a variety of features using rendered images | 
| Courtney Goeltzenleuchter | 539bf16 | 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 | 
| Tony Barbour | a3babd1 | 2015-11-04 16:58:16 -0700 | [diff] [blame] | 24 | ./vk_render_tests --compare-images | 
| Tony Barbour | 0c1bdc6 | 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 | 1405a43 | 2015-06-30 15:37:50 -0600 | [diff] [blame] | 30 |  | 
| Mark Lobodzinski | f39d70c | 2015-08-14 14:24:50 -0600 | [diff] [blame] | 31 | # vktracereplay.sh tests vktrace trace and replay | 
 | 32 | ./vktracereplay.sh | 
| Tobin Ehlis | 236717c | 2015-08-31 12:42:38 -0600 | [diff] [blame] | 33 |  |