summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-11-10 19:42:43 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-11-10 19:43:25 +0100
commitf19a905261c6b02f788ce7b5167223555d324712 (patch)
tree601df7c5031f85684518590a667bec993c583d56 /src
parentef3d2120bfa58f9247a441602bd30f13cc7f225a (diff)
eolian: fix generation tests
Diffstat (limited to 'src')
-rw-r--r--src/tests/eolian/data/class_simple_ref_eo.h4
-rw-r--r--src/tests/eolian/data/class_simple_ref_legacy.h4
-rw-r--r--src/tests/eolian/data/docs_ref.h4
-rw-r--r--src/tests/eolian/data/docs_ref_legacy.h4
-rw-r--r--src/tests/eolian/data/function_as_argument_ref.h4
-rw-r--r--src/tests/eolian/data/function_types_ref.h4
-rw-r--r--src/tests/eolian/data/import_types_ref.h4
-rw-r--r--src/tests/eolian/data/struct_ref.h (renamed from src/tests/eolian/data/struct_ref.c)4
-rw-r--r--src/tests/eolian/data/struct_ref_stub.h (renamed from src/tests/eolian/data/struct_ref_stub.c)4
-rw-r--r--src/tests/eolian/data/typedef_ref.h (renamed from src/tests/eolian/data/typedef_ref.c)4
-rw-r--r--src/tests/eolian/data/typedef_ref_stub.h (renamed from src/tests/eolian/data/typedef_ref_stub.c)4
-rw-r--r--src/tests/eolian/eolian_generation.c56
12 files changed, 50 insertions, 50 deletions
diff --git a/src/tests/eolian/data/class_simple_ref_eo.h b/src/tests/eolian/data/class_simple_ref_eo.h
index 9a5ddcd5c7..16a690decc 100644
--- a/src/tests/eolian/data/class_simple_ref_eo.h
+++ b/src/tests/eolian/data/class_simple_ref_eo.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_CLASS_SIMPLE_H_ 1#ifndef _EOLIAN_CLASS_SIMPLE_EO_H_
2#define _EOLIAN_CLASS_SIMPLE_H_ 2#define _EOLIAN_CLASS_SIMPLE_EO_H_
3 3
4#ifndef _CLASS_SIMPLE_EO_CLASS_TYPE 4#ifndef _CLASS_SIMPLE_EO_CLASS_TYPE
5#define _CLASS_SIMPLE_EO_CLASS_TYPE 5#define _CLASS_SIMPLE_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/class_simple_ref_legacy.h b/src/tests/eolian/data/class_simple_ref_legacy.h
index a4bd977063..39320a4ddb 100644
--- a/src/tests/eolian/data/class_simple_ref_legacy.h
+++ b/src/tests/eolian/data/class_simple_ref_legacy.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_CLASS_SIMPLE_LEGACY_H_ 1#ifndef _EOLIAN_CLASS_SIMPLE_EO_LEGACY_H_
2#define _EOLIAN_CLASS_SIMPLE_LEGACY_H_ 2#define _EOLIAN_CLASS_SIMPLE_EO_LEGACY_H_
3 3
4#ifndef _CLASS_SIMPLE_EO_CLASS_TYPE 4#ifndef _CLASS_SIMPLE_EO_CLASS_TYPE
5#define _CLASS_SIMPLE_EO_CLASS_TYPE 5#define _CLASS_SIMPLE_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/docs_ref.h b/src/tests/eolian/data/docs_ref.h
index d8002b8abf..7eb3014755 100644
--- a/src/tests/eolian/data/docs_ref.h
+++ b/src/tests/eolian/data/docs_ref.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_DOCS_H_ 1#ifndef _EOLIAN_DOCS_EO_H_
2#define _EOLIAN_DOCS_H_ 2#define _EOLIAN_DOCS_EO_H_
3 3
4#ifndef _DOCS_EO_CLASS_TYPE 4#ifndef _DOCS_EO_CLASS_TYPE
5#define _DOCS_EO_CLASS_TYPE 5#define _DOCS_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/docs_ref_legacy.h b/src/tests/eolian/data/docs_ref_legacy.h
index 75aad8bfb4..5b0d7d679c 100644
--- a/src/tests/eolian/data/docs_ref_legacy.h
+++ b/src/tests/eolian/data/docs_ref_legacy.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_DOCS_LEGACY_H_ 1#ifndef _EOLIAN_DOCS_EO_LEGACY_H_
2#define _EOLIAN_DOCS_LEGACY_H_ 2#define _EOLIAN_DOCS_EO_LEGACY_H_
3 3
4#ifndef _DOCS_EO_CLASS_TYPE 4#ifndef _DOCS_EO_CLASS_TYPE
5#define _DOCS_EO_CLASS_TYPE 5#define _DOCS_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/function_as_argument_ref.h b/src/tests/eolian/data/function_as_argument_ref.h
index 16af4285d2..61179c5346 100644
--- a/src/tests/eolian/data/function_as_argument_ref.h
+++ b/src/tests/eolian/data/function_as_argument_ref.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_FUNCTION_POINTERS_H_ 1#ifndef _EOLIAN_FUNCTION_POINTERS_EO_H_
2#define _EOLIAN_FUNCTION_POINTERS_H_ 2#define _EOLIAN_FUNCTION_POINTERS_EO_H_
3 3
4#ifndef _FUNCTION_AS_ARGUMENT_EO_CLASS_TYPE 4#ifndef _FUNCTION_AS_ARGUMENT_EO_CLASS_TYPE
5#define _FUNCTION_AS_ARGUMENT_EO_CLASS_TYPE 5#define _FUNCTION_AS_ARGUMENT_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/function_types_ref.h b/src/tests/eolian/data/function_types_ref.h
index dcb8af2525..a53ba715d2 100644
--- a/src/tests/eolian/data/function_types_ref.h
+++ b/src/tests/eolian/data/function_types_ref.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_FUNCTION_POINTERS_H_ 1#ifndef _EOLIAN_FUNCTION_POINTERS_EOT_H_
2#define _EOLIAN_FUNCTION_POINTERS_H_ 2#define _EOLIAN_FUNCTION_POINTERS_EOT_H_
3 3
4#ifndef _FUNCTION_TYPES_EOT_TYPES 4#ifndef _FUNCTION_TYPES_EOT_TYPES
5#define _FUNCTION_TYPES_EOT_TYPES 5#define _FUNCTION_TYPES_EOT_TYPES
diff --git a/src/tests/eolian/data/import_types_ref.h b/src/tests/eolian/data/import_types_ref.h
index 9dcb3cd98d..19863ba53d 100644
--- a/src/tests/eolian/data/import_types_ref.h
+++ b/src/tests/eolian/data/import_types_ref.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_IMPORT_TYPES_H_ 1#ifndef _EOLIAN_IMPORT_TYPES_EOT_H_
2#define _EOLIAN_IMPORT_TYPES_H_ 2#define _EOLIAN_IMPORT_TYPES_EOT_H_
3 3
4#ifndef _IMPORT_TYPES_EOT_TYPES 4#ifndef _IMPORT_TYPES_EOT_TYPES
5#define _IMPORT_TYPES_EOT_TYPES 5#define _IMPORT_TYPES_EOT_TYPES
diff --git a/src/tests/eolian/data/struct_ref.c b/src/tests/eolian/data/struct_ref.h
index 60b4369bce..6e6299b3dc 100644
--- a/src/tests/eolian/data/struct_ref.c
+++ b/src/tests/eolian/data/struct_ref.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_TYPEDEF_H_ 1#ifndef _EOLIAN_TYPEDEF_EO_H_
2#define _EOLIAN_TYPEDEF_H_ 2#define _EOLIAN_TYPEDEF_EO_H_
3 3
4#ifndef _STRUCT_EO_CLASS_TYPE 4#ifndef _STRUCT_EO_CLASS_TYPE
5#define _STRUCT_EO_CLASS_TYPE 5#define _STRUCT_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/struct_ref_stub.c b/src/tests/eolian/data/struct_ref_stub.h
index 19ed7140c0..5ef89d3c1a 100644
--- a/src/tests/eolian/data/struct_ref_stub.c
+++ b/src/tests/eolian/data/struct_ref_stub.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_TYPEDEF_STUB_H_STUBS 1#ifndef _EOLIAN_TYPEDEF_EO_STUB_H_STUBS
2#define _EOLIAN_TYPEDEF_STUB_H_STUBS 2#define _EOLIAN_TYPEDEF_EO_STUB_H_STUBS
3 3
4typedef Eo Struct; 4typedef Eo Struct;
5 5
diff --git a/src/tests/eolian/data/typedef_ref.c b/src/tests/eolian/data/typedef_ref.h
index 24d4bc6260..ffae7bc332 100644
--- a/src/tests/eolian/data/typedef_ref.c
+++ b/src/tests/eolian/data/typedef_ref.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_TYPEDEF_H_ 1#ifndef _EOLIAN_TYPEDEF_EO_H_
2#define _EOLIAN_TYPEDEF_H_ 2#define _EOLIAN_TYPEDEF_EO_H_
3 3
4#ifndef _TYPEDEF_EO_CLASS_TYPE 4#ifndef _TYPEDEF_EO_CLASS_TYPE
5#define _TYPEDEF_EO_CLASS_TYPE 5#define _TYPEDEF_EO_CLASS_TYPE
diff --git a/src/tests/eolian/data/typedef_ref_stub.c b/src/tests/eolian/data/typedef_ref_stub.h
index 9dee52ad61..867329582c 100644
--- a/src/tests/eolian/data/typedef_ref_stub.c
+++ b/src/tests/eolian/data/typedef_ref_stub.h
@@ -1,5 +1,5 @@
1#ifndef _EOLIAN_TYPEDEF_STUB_H_STUBS 1#ifndef _EOLIAN_TYPEDEF_EO_STUB_H_STUBS
2#define _EOLIAN_TYPEDEF_STUB_H_STUBS 2#define _EOLIAN_TYPEDEF_EO_STUB_H_STUBS
3 3
4typedef Eo Typedef; 4typedef Eo Typedef;
5 5
diff --git a/src/tests/eolian/eolian_generation.c b/src/tests/eolian/eolian_generation.c
index d1d06169e4..c339b2911f 100644
--- a/src/tests/eolian/eolian_generation.c
+++ b/src/tests/eolian/eolian_generation.c
@@ -111,17 +111,17 @@ START_TEST(eolian_types_generation)
111 char output_filepath[PATH_MAX] = ""; 111 char output_filepath[PATH_MAX] = "";
112 snprintf(output_filepath, PATH_MAX, "%s/eolian_typedef", 112 snprintf(output_filepath, PATH_MAX, "%s/eolian_typedef",
113 eina_environment_tmp_get()); 113 eina_environment_tmp_get());
114 _remove_ref(output_filepath, "h"); 114 _remove_ref(output_filepath, "eo.h");
115 _remove_ref(output_filepath, "stub.h"); 115 _remove_ref(output_filepath, "eo.stub.h");
116 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/typedef.eo", "-gh", output_filepath)); 116 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/typedef.eo", "-gh", output_filepath));
117 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/typedef_ref.c", output_filepath, "h")); 117 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/typedef_ref.h", output_filepath, "eo.h"));
118 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/struct.eo", "-gh", output_filepath)); 118 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/struct.eo", "-gh", output_filepath));
119 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/struct_ref.c", output_filepath, "h")); 119 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/struct_ref.h", output_filepath, "eo.h"));
120 120
121 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/typedef.eo", "-gs", output_filepath)); 121 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/typedef.eo", "-gs", output_filepath));
122 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/typedef_ref_stub.c", output_filepath, "stub.h")); 122 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/typedef_ref_stub.h", output_filepath, "eo.stub.h"));
123 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/struct.eo", "-gs", output_filepath)); 123 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/struct.eo", "-gs", output_filepath));
124 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/struct_ref_stub.c", output_filepath, "stub.h")); 124 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/struct_ref_stub.h", output_filepath, "eo.stub.h"));
125} 125}
126END_TEST 126END_TEST
127 127
@@ -130,9 +130,9 @@ START_TEST(eolian_default_values_generation)
130 char output_filepath[PATH_MAX] = ""; 130 char output_filepath[PATH_MAX] = "";
131 snprintf(output_filepath, PATH_MAX, "%s/eolian_class_simple", 131 snprintf(output_filepath, PATH_MAX, "%s/eolian_class_simple",
132 eina_environment_tmp_get()); 132 eina_environment_tmp_get());
133 _remove_ref(output_filepath, "c"); 133 _remove_ref(output_filepath, "eo.c");
134 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/class_simple.eo", "-gc", output_filepath)); 134 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/class_simple.eo", "-gc", output_filepath));
135 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/class_simple_ref.c", output_filepath, "c")); 135 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/class_simple_ref.c", output_filepath, "eo.c"));
136} 136}
137END_TEST 137END_TEST
138 138
@@ -141,9 +141,9 @@ START_TEST(eolian_override_generation)
141 char output_filepath[PATH_MAX] = ""; 141 char output_filepath[PATH_MAX] = "";
142 snprintf(output_filepath, PATH_MAX, "%s/eolian_override", 142 snprintf(output_filepath, PATH_MAX, "%s/eolian_override",
143 eina_environment_tmp_get()); 143 eina_environment_tmp_get());
144 _remove_ref(output_filepath, "c"); 144 _remove_ref(output_filepath, "eo.c");
145 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/override.eo", "-gc", output_filepath)); 145 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/override.eo", "-gc", output_filepath));
146 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/override_ref.c", output_filepath, "c")); 146 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/override_ref.c", output_filepath, "eo.c"));
147} 147}
148END_TEST 148END_TEST
149 149
@@ -152,12 +152,12 @@ START_TEST(eolian_functions_descriptions)
152 char output_filepath[PATH_MAX] = ""; 152 char output_filepath[PATH_MAX] = "";
153 snprintf(output_filepath, PATH_MAX, "%s/eolian_class_simple", 153 snprintf(output_filepath, PATH_MAX, "%s/eolian_class_simple",
154 eina_environment_tmp_get()); 154 eina_environment_tmp_get());
155 _remove_ref(output_filepath, "h"); 155 _remove_ref(output_filepath, "eo.h");
156 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/class_simple.eo", "-gh", output_filepath)); 156 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/class_simple.eo", "-gh", output_filepath));
157 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/class_simple_ref_eo.h", output_filepath, "h")); 157 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/class_simple_ref_eo.h", output_filepath, "eo.h"));
158 _remove_ref(output_filepath, "legacy.h"); 158 _remove_ref(output_filepath, "eo.legacy.h");
159 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/class_simple.eo", "-gl", output_filepath)); 159 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/class_simple.eo", "-gl", output_filepath));
160 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/class_simple_ref_legacy.h", output_filepath, "legacy.h")); 160 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/class_simple_ref_legacy.h", output_filepath, "eo.legacy.h"));
161} 161}
162END_TEST 162END_TEST
163 163
@@ -166,9 +166,9 @@ START_TEST(eolian_import)
166 char output_filepath[PATH_MAX] = ""; 166 char output_filepath[PATH_MAX] = "";
167 snprintf(output_filepath, PATH_MAX, "%s/eolian_import_types", 167 snprintf(output_filepath, PATH_MAX, "%s/eolian_import_types",
168 eina_environment_tmp_get()); 168 eina_environment_tmp_get());
169 _remove_ref(output_filepath, "h"); 169 _remove_ref(output_filepath, "eot.h");
170 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/import_types.eot", "-gh", output_filepath)); 170 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/import_types.eot", "-gh", output_filepath));
171 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/import_types_ref.h", output_filepath, "h")); 171 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/import_types_ref.h", output_filepath, "eot.h"));
172} 172}
173END_TEST 173END_TEST
174 174
@@ -177,12 +177,12 @@ START_TEST(eolian_docs)
177 char output_filepath[PATH_MAX] = ""; 177 char output_filepath[PATH_MAX] = "";
178 snprintf(output_filepath, PATH_MAX, "%s/eolian_docs", 178 snprintf(output_filepath, PATH_MAX, "%s/eolian_docs",
179 eina_environment_tmp_get()); 179 eina_environment_tmp_get());
180 _remove_ref(output_filepath, "h"); 180 _remove_ref(output_filepath, "eo.h");
181 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/docs.eo", "-gh", output_filepath)); 181 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/docs.eo", "-gh", output_filepath));
182 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/docs_ref.h", output_filepath, "h")); 182 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/docs_ref.h", output_filepath, "eo.h"));
183 _remove_ref(output_filepath, "legacy.h"); 183 _remove_ref(output_filepath, "eo.legacy.h");
184 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/docs.eo", "-gl", output_filepath)); 184 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/docs.eo", "-gl", output_filepath));
185 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/docs_ref_legacy.h", output_filepath, "legacy.h")); 185 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/docs_ref_legacy.h", output_filepath, "eo.legacy.h"));
186} 186}
187END_TEST 187END_TEST
188 188
@@ -193,19 +193,19 @@ START_TEST(eolian_function_pointers)
193 char output_filepath[PATH_MAX] = ""; 193 char output_filepath[PATH_MAX] = "";
194 snprintf(output_filepath, PATH_MAX, "%s/eolian_function_pointers", 194 snprintf(output_filepath, PATH_MAX, "%s/eolian_function_pointers",
195 eina_environment_tmp_get()); 195 eina_environment_tmp_get());
196 _remove_ref(output_filepath, "h"); 196 _remove_ref(output_filepath, "eot.h");
197 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/function_types.eot", "-gh", output_filepath)); 197 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/function_types.eot", "-gh", output_filepath));
198 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/function_types_ref.h", output_filepath, "h")); 198 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/function_types_ref.h", output_filepath, "eot.h"));
199 199
200 // .eo.h 200 // .eo.h
201 _remove_ref(output_filepath, "h"); 201 _remove_ref(output_filepath, "eo.h");
202 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/function_as_argument.eo", "-gh", output_filepath)); 202 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/function_as_argument.eo", "-gh", output_filepath));
203 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/function_as_argument_ref.h", output_filepath, "h")); 203 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/function_as_argument_ref.h", output_filepath, "eo.h"));
204 204
205 // .eo.c 205 // .eo.c
206 _remove_ref(output_filepath, "c"); 206 _remove_ref(output_filepath, "eo.c");
207 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/function_as_argument.eo", "-gc", output_filepath)); 207 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/function_as_argument.eo", "-gc", output_filepath));
208 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/function_as_argument_ref.c", output_filepath, "c")); 208 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/function_as_argument_ref.c", output_filepath, "eo.c"));
209 209
210 // .eo.imp.c 210 // .eo.imp.c
211 _remove_ref(output_filepath, "c"); 211 _remove_ref(output_filepath, "c");
@@ -222,9 +222,9 @@ START_TEST(owning)
222 char output_filepath[PATH_MAX] = ""; 222 char output_filepath[PATH_MAX] = "";
223 snprintf(output_filepath, PATH_MAX, "%s/eolian_owning", 223 snprintf(output_filepath, PATH_MAX, "%s/eolian_owning",
224 eina_environment_tmp_get()); 224 eina_environment_tmp_get());
225 _remove_ref(output_filepath, "c"); 225 _remove_ref(output_filepath, "eo.c");
226 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/owning.eo", "-gc", output_filepath)); 226 fail_if(0 != _eolian_gen_execute(PACKAGE_DATA_DIR"/data/owning.eo", "-gc", output_filepath));
227 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/owning.eo.c", output_filepath, "c")); 227 fail_if(!_files_compare(PACKAGE_DATA_DIR"/data/owning.eo.c", output_filepath, "eo.c"));
228 228
229} 229}
230END_TEST 230END_TEST