Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
90cdc49d
Commit
90cdc49d
authored
Mar 27, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Aug 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Print "test marked todo" messages in colour.
parent
05386fd0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
test.h
include/wine/test.h
+3
-0
No files found.
include/wine/test.h
View file @
90cdc49d
...
...
@@ -282,6 +282,7 @@ const char *winetest_elapsed(void)
static
const
char
color_reset
[]
=
"\e[0m"
;
static
const
char
color_dark_red
[]
=
"\e[31m"
;
static
const
char
color_yellow
[]
=
"\e[33m"
;
static
const
char
color_bright_red
[]
=
"\e[1;91m"
;
static
void
winetest_printf
(
const
char
*
msg
,
...
)
__WINE_PRINTF_ATTR
(
1
,
2
);
...
...
@@ -369,8 +370,10 @@ int winetest_vok( int condition, const char *msg, va_list args )
{
if
(
winetest_debug
>
0
)
{
if
(
winetest_color
)
printf
(
color_yellow
);
winetest_print_context
(
"Test marked todo: "
);
vprintf
(
msg
,
args
);
if
(
winetest_color
)
printf
(
color_reset
);
}
InterlockedIncrement
(
&
todo_successes
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment