Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
steam-runtime-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steamrt
steam-runtime-tools
Commits
5bbc0661
Commit
5bbc0661
authored
5 years ago
by
Jeremy Whiting
Committed by
Jeremy Whiting
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Always log a warning to stderr in mock-{bad|software}-wflinfo
parent
06331647
No related branches found
No related tags found
1 merge request
!102
Run wflinfo and check-gl a second time if it fails the first time with LIBGL_DEBUG set to verbose. T16560
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/mock-bad-wflinfo.c
+3
-0
3 additions, 0 deletions
tests/mock-bad-wflinfo.c
tests/mock-software-wflinfo.c
+1
-0
1 addition, 0 deletions
tests/mock-software-wflinfo.c
with
4 additions
and
0 deletions
tests/mock-bad-wflinfo.c
+
3
−
0
View file @
5bbc0661
...
...
@@ -30,7 +30,10 @@ main (int argc,
char
**
argv
)
{
// Give bad output
fprintf
(
stderr
,
"warning: this warning should always be logged
\n
"
);
fprintf
(
stderr
,
"Waffle error: 0x2 WAFFLE_ERROR_UNKNOWN: XOpenDisplay failed
\n
"
);
return
1
;
}
This diff is collapsed.
Click to expand it.
tests/mock-software-wflinfo.c
+
1
−
0
View file @
5bbc0661
...
...
@@ -40,6 +40,7 @@ main (int argc,
"
\"
,
\n\t\t\"
shading language version string
\"
:
\"
1.40
\"
,
\n
"
"
\t\t\"
extensions
\"
: [
\n
"
"
\t\t
]
\n\t
}
\n
}
\n
"
);
fprintf
(
stderr
,
"warning: this warning should always be logged
\n
"
);
return
0
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment