Skip to content
Snippets Groups Projects
Commit fa6c6e9b authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

check-vulkan: Print JSON results in stdout


With the commit 0d0b054a we redirected the JSON results to
stderr as a stopgap solution. Now we revert that and print
the results in stdout so that we can implement a proper parsing.

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 5f239b57
No related branches found
No related tags found
1 merge request!226Start to print detailed Vulkan info for every GPU
...@@ -1372,16 +1372,14 @@ int main (int argc, ...@@ -1372,16 +1372,14 @@ int main (int argc,
goto out; goto out;
for (i = 0; i < physical_device_count; i++) for (i = 0; i < physical_device_count; i++)
print_physical_device_info (physical_devices[i], stderr); print_physical_device_info (physical_devices[i], original_stdout);
for (i = 0; i < physical_device_count; i++) for (i = 0; i < physical_device_count; i++)
{ {
result = draw_test_triangle (vk_instance, physical_devices[i], error); result = draw_test_triangle (vk_instance, physical_devices[i], error);
print_draw_test_result (i, result, local_error, stderr); print_draw_test_result (i, result, local_error, original_stdout);
if (local_error != NULL)
g_printerr ("%s", local_error->message);
/* The eventual error has already been included in the drawing test JSON */
g_clear_error (error); g_clear_error (error);
/* Return exit success if we are able to draw with at least one device */ /* Return exit success if we are able to draw with at least one device */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment