summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-10-16 12:48:43 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2018-10-16 12:51:35 +0200
commit0c363c653759ab2b4e25f53b5d74d30ea6df1c08 (patch)
treedc13543a3bf296bd618e1b12b10c72f9d7e9517a
parentadcaa8b82b54a841bcbc13fb7eea626e17410d12 (diff)
eolian_cxx: PACKAGE_DATA_DIR is completly wrong here
Summary: its the define for the directory where data is installed in the fs. Not where to find test data in the tree - TESTS_SRC_DIR is defining the same - however, with this change we are consistent and i dont need to change the meson automatic define generation. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7163
-rw-r--r--src/tests/eolian_cxx/eolian_cxx_test_documentation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eolian_cxx/eolian_cxx_test_documentation.cc b/src/tests/eolian_cxx/eolian_cxx_test_documentation.cc
index 3ebdec86bf..4690f45498 100644
--- a/src/tests/eolian_cxx/eolian_cxx_test_documentation.cc
+++ b/src/tests/eolian_cxx/eolian_cxx_test_documentation.cc
@@ -22,9 +22,9 @@ using efl::eolian::grammar::attributes::struct_def;
22 22
23klass_def init_test_data(efl::eolian::eolian_state const& state) 23klass_def init_test_data(efl::eolian::eolian_state const& state)
24{ 24{
25 ck_assert(::eolian_state_directory_add(state.value, PACKAGE_DATA_DIR)); 25 ck_assert(::eolian_state_directory_add(state.value, TESTS_SRC_DIR));
26 ck_assert(::eolian_state_all_eot_files_parse(state.value)); 26 ck_assert(::eolian_state_all_eot_files_parse(state.value));
27 ck_assert(::eolian_state_file_parse(state.value, PACKAGE_DATA_DIR"/docs.eo")); 27 ck_assert(::eolian_state_file_parse(state.value, TESTS_SRC_DIR"/docs.eo"));
28 28
29 const Eolian_Class *c_klass = ::eolian_state_class_by_name_get(state.value, "Docs"); 29 const Eolian_Class *c_klass = ::eolian_state_class_by_name_get(state.value, "Docs");
30 ck_assert_ptr_ne(c_klass, NULL); 30 ck_assert_ptr_ne(c_klass, NULL);