diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-11-06 23:47:50 -0300 |
---|---|---|
committer | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2019-11-06 23:47:50 -0300 |
commit | 03d9fa97cc6b753b393436b461e6c36eff5cc577 (patch) | |
tree | 3120ab3f7402d5556ed92dacc01694ce3ca54050 | |
parent | cd467051afd2d819d1ac2195c9ed771fa59c400b (diff) | |
download | efl-03d9fa97cc6b753b393436b461e6c36eff5cc577.tar.gz |
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
-rw-r--r-- | src/tests/efl_mono/meson.build | 56 |
1 files 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], |