lauromoura pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=03d9fa97cc6b753b393436b461e6c36eff5cc577
commit 03d9fa97cc6b753b393436b461e6c36eff5cc577 Author: Lauro Moura <lauromo...@expertisesolutions.com.br> Date: Wed Nov 6 23:47:50 2019 -0300 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 --- src/tests/efl_mono/meson.build | 56 +++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/tests/efl_mono/meson.build b/src/tests/efl_mono/meson.build index 9b58563516..4ab4cffae5 100644 --- a/src/tests/efl_mono/meson.build +++ b/src/tests/efl_mono/meson.build @@ -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], --