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
aa424f81
Commit
aa424f81
authored
Dec 09, 2010
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winetest: Add a trace in the log when skipping a subtest.
parent
9a6f5ad2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
main.c
programs/winetest/main.c
+17
-11
No files found.
programs/winetest/main.c
View file @
aa424f81
...
...
@@ -575,8 +575,7 @@ get_subtests (const char *tempdir, struct wine_test *test, LPTSTR res_name)
test
->
subtests
=
heap_realloc
(
test
->
subtests
,
allocated
*
sizeof
(
char
*
));
}
if
(
!
test_filtered_out
(
test
->
name
,
index
))
test
->
subtests
[
test
->
subtest_count
++
]
=
heap_strdup
(
index
);
test
->
subtests
[
test
->
subtest_count
++
]
=
heap_strdup
(
index
);
index
=
strtok
(
NULL
,
whitespace
);
}
test
->
subtests
=
heap_realloc
(
test
->
subtests
,
...
...
@@ -592,14 +591,23 @@ get_subtests (const char *tempdir, struct wine_test *test, LPTSTR res_name)
static
void
run_test
(
struct
wine_test
*
test
,
const
char
*
subtest
,
HANDLE
out_file
,
const
char
*
tempdir
)
{
int
status
;
const
char
*
file
=
get_test_source_file
(
test
->
name
,
subtest
);
char
*
cmd
=
strmake
(
NULL
,
"%s %s"
,
test
->
exename
,
subtest
);
xprintf
(
"%s:%s start %s -
\n
"
,
test
->
name
,
subtest
,
file
);
status
=
run_ex
(
cmd
,
out_file
,
tempdir
,
120000
);
heap_free
(
cmd
);
xprintf
(
"%s:%s done (%d)
\n
"
,
test
->
name
,
subtest
,
status
);
if
(
test_filtered_out
(
test
->
name
,
subtest
))
{
report
(
R_STEP
,
"Skipping: %s:%s"
,
test
->
name
,
subtest
);
xprintf
(
"%s:%s skipped %s -
\n
"
,
test
->
name
,
subtest
,
file
);
}
else
{
int
status
;
char
*
cmd
=
strmake
(
NULL
,
"%s %s"
,
test
->
exename
,
subtest
);
report
(
R_STEP
,
"Running: %s:%s"
,
test
->
name
,
subtest
);
xprintf
(
"%s:%s start %s -
\n
"
,
test
->
name
,
subtest
,
file
);
status
=
run_ex
(
cmd
,
out_file
,
tempdir
,
120000
);
heap_free
(
cmd
);
xprintf
(
"%s:%s done (%d)
\n
"
,
test
->
name
,
subtest
,
status
);
}
}
static
BOOL
CALLBACK
...
...
@@ -924,9 +932,7 @@ run_tests (char *logname, char *outdir)
for
(
j
=
0
;
j
<
test
->
subtest_count
;
j
++
)
{
if
(
aborting
)
break
;
report
(
R_STEP
,
"Running: %s:%s"
,
test
->
name
,
test
->
subtests
[
j
]);
run_test
(
test
,
test
->
subtests
[
j
],
logfile
,
tempdir
);
run_test
(
test
,
test
->
subtests
[
j
],
logfile
,
tempdir
);
}
if
(
test
->
maindllpath
)
{
...
...
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