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
5aa0144e
Commit
5aa0144e
authored
Feb 26, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Add intermediate test target to propagate test failures status properly.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f1c344bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
makedep.c
tools/makedep.c
+9
-1
No files found.
tools/makedep.c
View file @
5aa0144e
...
...
@@ -3494,7 +3494,7 @@ static void output_subdirs( struct makefile *make )
}
else
if
(
submake
->
testdll
)
{
output
(
"
check test::
\n
"
);
output
(
"
%s/test: dummy
\n
"
,
subdir
);
output
(
"
\t
@cd %s && $(MAKE) test
\n
"
,
subdir
);
strarray_add
(
&
winetest_deps
,
subdir
);
strarray_add
(
&
builddeps_deps
,
subdir
);
...
...
@@ -3536,6 +3536,14 @@ static void output_subdirs( struct makefile *make )
output
(
"programs/winetest:"
);
output_filenames
(
winetest_deps
);
output
(
"
\n
"
);
output
(
"check test:"
);
for
(
i
=
0
;
i
<
winetest_deps
.
count
;
i
++
)
{
char
*
target
=
strmake
(
"%s/test"
,
winetest_deps
.
str
[
i
]
);
output_filename
(
target
);
strarray_add
(
&
make
->
phony_targets
,
target
);
}
output
(
"
\n
"
);
strarray_add
(
&
make
->
phony_targets
,
"check"
);
strarray_add
(
&
make
->
phony_targets
,
"test"
);
}
...
...
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