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 | |
Courtney Goeltzenleuchter | 9cc421e | 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 | 539bf16 | 2014-12-08 13:17:04 -0700 | [diff] [blame] | 11 | |
Courtney Goeltzenleuchter | 9cc421e | 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 | 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_image_tests check that image can be allocated and bound. |
| 16 | ./vk_image_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_render_tests tests a variety of features using rendered images |
Courtney Goeltzenleuchter | 539bf16 | 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 | 9cc421e | 2015-04-08 15:36:08 -0600 | [diff] [blame] | 21 | ./vk_render_tests --compare-images |
Tony Barbour | 0c1bdc6 | 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 |
David Pinedo | 1405a43 | 2015-06-30 15:37:50 -0600 | [diff] [blame] | 27 | |
Mark Lobodzinski | f39d70c | 2015-08-14 14:24:50 -0600 | [diff] [blame] | 28 | # vktracereplay.sh tests vktrace trace and replay |
| 29 | ./vktracereplay.sh |
Tobin Ehlis | 236717c | 2015-08-31 12:42:38 -0600 | [diff] [blame] | 30 | |
| 31 | # vk_layer_documentation_generate.py is run from the project root dir |
| 32 | # the --validate option will verify that checks documented in layer header |
| 33 | # files match those documented in layer/vk_validation_layer_details.md |
| 34 | ./vkvalidatelayerdoc.sh |
| 35 | |