summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-11-06 23:47:50 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-11-06 23:47:50 -0300
commit03d9fa97cc6b753b393436b461e6c36eff5cc577 (patch)
tree3120ab3f7402d5556ed92dacc01694ce3ca54050
parentcd467051afd2d819d1ac2195c9ed771fa59c400b (diff)
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.build56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/tests/efl_mono/meson.build b/src/tests/efl_mono/meson.build
index 9b58563..4ab4cff 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
57 '@INPUT@']) 57 '@INPUT@'])
58endforeach 58endforeach
59 59
60efl_mono_src = [
61 'Main.cs',
62 'TestUtils.cs',
63 'EinaTestData.cs',
64 'StructHelpers.cs',
65 'BasicDirection.cs',
66 'Eina.cs',
67 'Eldbus.cs',
68 'Eo.cs',
69 'EoPromises.cs',
70 'EoConstruction.cs',
71 'Errors.cs',
72 'Events.cs',
73 'FunctionPointers.cs',
74 'FunctionPointerMarshalling.cs',
75 'Model.cs',
76 'Parts.cs',
77 'Promises.cs',
78 'Strbuf.cs',
79 'Strings.cs',
80 'Structs.cs',
81 'Value.cs',
82 'ValueEolian.cs',
83 'Inheritance.cs',
84 'Hash.cs'
85]
86
60if get_option('dotnet') 87if get_option('dotnet')
61 88
62 dotnet_test_conf_data = configuration_data() 89 dotnet_test_conf_data = configuration_data()
@@ -80,7 +107,7 @@ if get_option('dotnet')
80 ) 107 )
81 108
82 efl_mono_suite = custom_target('efl_mono_test', 109 efl_mono_suite = custom_target('efl_mono_test',
83 input: eo_file_targets + [dotnet_test_csproj], 110 input: eo_file_targets + [dotnet_test_csproj] + efl_mono_src,
84 output: 'efl_sharp_test_suite.dll', 111 output: 'efl_sharp_test_suite.dll',
85 depends: [efl_mono], 112 depends: [efl_mono],
86 build_by_default: true, 113 build_by_default: true,
@@ -100,33 +127,6 @@ else
100 cs_args : extra_cs_args 127 cs_args : extra_cs_args
101 ) 128 )
102 129
103 efl_mono_src = [
104 'Main.cs',
105 'TestUtils.cs',
106 'EinaTestData.cs',
107 'StructHelpers.cs',
108 'BasicDirection.cs',
109 'Eina.cs',
110 'Eldbus.cs',
111 'Eo.cs',
112 'EoPromises.cs',
113 'EoConstruction.cs',
114 'Errors.cs',
115 'Events.cs',
116 'FunctionPointers.cs',
117 'FunctionPointerMarshalling.cs',
118 'Model.cs',
119 'Parts.cs',
120 'Promises.cs',
121 'Strbuf.cs',
122 'Strings.cs',
123 'Structs.cs',
124 'Value.cs',
125 'ValueEolian.cs',
126 'Inheritance.cs',
127 'Hash.cs'
128 ]
129
130 efl_mono_suite = executable('efl-mono-suite', 130 efl_mono_suite = executable('efl-mono-suite',
131 efl_mono_src, 131 efl_mono_src,
132 link_with : [efl_mono, efl_mono_test], 132 link_with : [efl_mono, efl_mono_test],