forked from enlightenment/efl
csharp: Fix test build dependency
Summary: Make dotnet target also depend on the manual test files. Test Plan: Modify one of the manual files and run the tests again. The test target should be rebuilt. Reviewers: bu5hm4n, segfaultxavi, brunobelo, felipealmeida Reviewed By: brunobelo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10609
This commit is contained in:
parent
cd467051af
commit
03d9fa97cc
|
@ -57,6 +57,33 @@ foreach mono_gen_file : eo_files
|
|||
'@INPUT@'])
|
||||
endforeach
|
||||
|
||||
efl_mono_src = [
|
||||
'Main.cs',
|
||||
'TestUtils.cs',
|
||||
'EinaTestData.cs',
|
||||
'StructHelpers.cs',
|
||||
'BasicDirection.cs',
|
||||
'Eina.cs',
|
||||
'Eldbus.cs',
|
||||
'Eo.cs',
|
||||
'EoPromises.cs',
|
||||
'EoConstruction.cs',
|
||||
'Errors.cs',
|
||||
'Events.cs',
|
||||
'FunctionPointers.cs',
|
||||
'FunctionPointerMarshalling.cs',
|
||||
'Model.cs',
|
||||
'Parts.cs',
|
||||
'Promises.cs',
|
||||
'Strbuf.cs',
|
||||
'Strings.cs',
|
||||
'Structs.cs',
|
||||
'Value.cs',
|
||||
'ValueEolian.cs',
|
||||
'Inheritance.cs',
|
||||
'Hash.cs'
|
||||
]
|
||||
|
||||
if get_option('dotnet')
|
||||
|
||||
dotnet_test_conf_data = configuration_data()
|
||||
|
@ -80,7 +107,7 @@ if get_option('dotnet')
|
|||
)
|
||||
|
||||
efl_mono_suite = custom_target('efl_mono_test',
|
||||
input: eo_file_targets + [dotnet_test_csproj],
|
||||
input: eo_file_targets + [dotnet_test_csproj] + efl_mono_src,
|
||||
output: 'efl_sharp_test_suite.dll',
|
||||
depends: [efl_mono],
|
||||
build_by_default: true,
|
||||
|
@ -100,33 +127,6 @@ else
|
|||
cs_args : extra_cs_args
|
||||
)
|
||||
|
||||
efl_mono_src = [
|
||||
'Main.cs',
|
||||
'TestUtils.cs',
|
||||
'EinaTestData.cs',
|
||||
'StructHelpers.cs',
|
||||
'BasicDirection.cs',
|
||||
'Eina.cs',
|
||||
'Eldbus.cs',
|
||||
'Eo.cs',
|
||||
'EoPromises.cs',
|
||||
'EoConstruction.cs',
|
||||
'Errors.cs',
|
||||
'Events.cs',
|
||||
'FunctionPointers.cs',
|
||||
'FunctionPointerMarshalling.cs',
|
||||
'Model.cs',
|
||||
'Parts.cs',
|
||||
'Promises.cs',
|
||||
'Strbuf.cs',
|
||||
'Strings.cs',
|
||||
'Structs.cs',
|
||||
'Value.cs',
|
||||
'ValueEolian.cs',
|
||||
'Inheritance.cs',
|
||||
'Hash.cs'
|
||||
]
|
||||
|
||||
efl_mono_suite = executable('efl-mono-suite',
|
||||
efl_mono_src,
|
||||
link_with : [efl_mono, efl_mono_test],
|
||||
|
|
Loading…
Reference in New Issue