Skip to content
Snippets Groups Projects
Commit 5bbc0661 authored by Jeremy Whiting's avatar Jeremy Whiting Committed by Jeremy Whiting
Browse files

Always log a warning to stderr in mock-{bad|software}-wflinfo

parent 06331647
Branches
Tags
1 merge request!102Run wflinfo and check-gl a second time if it fails the first time with LIBGL_DEBUG set to verbose. T16560
...@@ -30,7 +30,10 @@ main (int argc, ...@@ -30,7 +30,10 @@ main (int argc,
char **argv) char **argv)
{ {
// Give bad output // Give bad output
fprintf (stderr, "warning: this warning should always be logged\n");
fprintf (stderr, "Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: XOpenDisplay failed\n"); fprintf (stderr, "Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: XOpenDisplay failed\n");
return 1; return 1;
} }
...@@ -40,6 +40,7 @@ main (int argc, ...@@ -40,6 +40,7 @@ main (int argc,
"\",\n\t\t\"shading language version string\": \"1.40\",\n" "\",\n\t\t\"shading language version string\": \"1.40\",\n"
"\t\t\"extensions\": [\n" "\t\t\"extensions\": [\n"
"\t\t]\n\t}\n}\n"); "\t\t]\n\t}\n}\n");
fprintf (stderr, "warning: this warning should always be logged\n");
return 0; return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment