Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7715a1aa
Commit
7715a1aa
authored
May 28, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
makefiles: Don't run tests for disabled dlls.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b7b61f0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
makedep.c
tools/makedep.c
+12
-8
No files found.
tools/makedep.c
View file @
7715a1aa
...
@@ -3247,6 +3247,7 @@ static void output_test_module( struct makefile *make )
...
@@ -3247,6 +3247,7 @@ static void output_test_module( struct makefile *make )
char
*
testres
=
replace_extension
(
make
->
testdll
,
".dll"
,
"_test.res"
);
char
*
testres
=
replace_extension
(
make
->
testdll
,
".dll"
,
"_test.res"
);
struct
strarray
dep_libs
=
empty_strarray
;
struct
strarray
dep_libs
=
empty_strarray
;
struct
strarray
all_libs
=
add_import_libs
(
make
,
&
dep_libs
,
make
->
imports
,
0
);
struct
strarray
all_libs
=
add_import_libs
(
make
,
&
dep_libs
,
make
->
imports
,
0
);
int
parent_disabled
=
0
;
add_import_libs
(
make
,
&
dep_libs
,
get_default_imports
(
make
),
0
);
/* dependencies only */
add_import_libs
(
make
,
&
dep_libs
,
get_default_imports
(
make
),
0
);
/* dependencies only */
strarray_addall
(
&
all_libs
,
libs
);
strarray_addall
(
&
all_libs
,
libs
);
...
@@ -3321,16 +3322,19 @@ static void output_test_module( struct makefile *make )
...
@@ -3321,16 +3322,19 @@ static void output_test_module( struct makefile *make )
}
}
}
}
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
if
(
strendswith
(
make
->
base_dir
,
"/tests"
))
output
(
": %s%s ../%s%s
\n
"
,
testmodule
,
dll_ext
,
make
->
testdll
,
dll_ext
);
if
(
!
make
->
disabled
)
{
{
output
(
"check test:"
);
char
*
dir
=
xstrdup
(
make
->
base_dir
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
dir
[
strlen
(
dir
)
-
6
]
=
0
;
output
(
"
\n
"
);
parent_disabled
=
strarray_exists
(
&
disabled_dirs
,
dir
);
strarray_add
(
&
make
->
phony_targets
,
"check"
);
strarray_add
(
&
make
->
phony_targets
,
"test"
);
}
}
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
output
(
": %s%s ../%s%s
\n
"
,
testmodule
,
dll_ext
,
make
->
testdll
,
dll_ext
);
output
(
"check test:"
);
if
(
!
make
->
disabled
&&
!
parent_disabled
)
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
output
(
"
\n
"
);
strarray_add
(
&
make
->
phony_targets
,
"check"
);
strarray_add
(
&
make
->
phony_targets
,
"test"
);
output
(
"testclean::
\n
"
);
output
(
"testclean::
\n
"
);
output
(
"
\t
rm -f"
);
output
(
"
\t
rm -f"
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
output_filenames_obj_dir
(
make
,
make
->
ok_files
);
...
...
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