commit | e37e9738340dc7ac0ca629484e4ad6de718b90f7 | [log] [tgz] |
---|---|---|
author | Tobin Ehlis <tobine@google.com> | Mon Jul 11 12:57:29 2016 -0600 |
committer | Tobin Ehlis <tobine@google.com> | Tue Jul 12 14:20:18 2016 -0600 |
tree | 88f5b515b875211b2e14fa11930cc5b46f11134b | |
parent | 51cde4163260fe562c7530bdb1ea9b69eb837d56 [diff] |
tests: exit(1) if no valid test format supported If RGBA8 & BGRA8 support is not found, exit(1) and not exit(0).
diff --git a/tests/vktestframework.cpp b/tests/vktestframework.cpp index 3323cf4..ef8e4a2 100644 --- a/tests/vktestframework.cpp +++ b/tests/vktestframework.cpp
@@ -224,7 +224,7 @@ } printf("Error - device does not support VK_FORMAT_B8G8R8A8_UNORM nor " "VK_FORMAT_R8G8B8A8_UNORM - exiting\n"); - exit(0); + exit(1); } void VkTestFramework::Finish() {}