felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=34c3d4ded7dc0a3b1f7e18750cd8812063a7d25d

commit 34c3d4ded7dc0a3b1f7e18750cd8812063a7d25d
Author: Savio Sena <sa...@expertisesolutions.com.br>
Date:   Fri Jul 11 20:19:01 2014 -0300

    tests: Added config.h to tests.
---
 src/examples/eina_cxx/eina_cxx_list_01.cc              | 4 ++++
 src/examples/eina_cxx/eina_cxx_thread_01.cc            | 7 +++++--
 src/tests/ecore_cxx/ecore_cxx_suite.cc                 | 3 +++
 src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc        | 3 +++
 src/tests/eet_cxx/eet_cxx_suite.cc                     | 4 ++++
 src/tests/eet_cxx/eet_cxx_test_descriptors.cc          | 4 ++++
 src/tests/eina_cxx/eina_cxx_suite.cc                   | 6 +++++-
 src/tests/eina_cxx/eina_cxx_test_accessor.cc           | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_error.cc              | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_inarray.cc            | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_inlist.cc             | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_iterator.cc           | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_log.cc                | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_optional.cc           | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_stringshare.cc        | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_thread.cc             | 4 ++++
 src/tests/eina_cxx/eina_cxx_test_value.cc              | 4 ++++
 src/tests/eldbus_cxx/eldbus_cxx_suite.cc               | 4 ++++
 src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc  | 4 ++++
 src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc | 4 ++++
 20 files changed, 80 insertions(+), 3 deletions(-)

diff --git a/src/examples/eina_cxx/eina_cxx_list_01.cc 
b/src/examples/eina_cxx/eina_cxx_list_01.cc
index 0cb0381..f74f9d6 100644
--- a/src/examples/eina_cxx/eina_cxx_list_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_list_01.cc
@@ -1,6 +1,10 @@
 //Compile with:
 //gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include <stdio.h>
 #include <Eina.hh>
 
diff --git a/src/examples/eina_cxx/eina_cxx_thread_01.cc 
b/src/examples/eina_cxx/eina_cxx_thread_01.cc
index 64c7525..b47b1a6 100644
--- a/src/examples/eina_cxx/eina_cxx_thread_01.cc
+++ b/src/examples/eina_cxx/eina_cxx_thread_01.cc
@@ -1,6 +1,10 @@
 //Compile with:
 //gcc -g eina_list_01.c -o eina_list_01 `pkg-config --cflags --libs eina`
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include <stdio.h>
 #include <Eina.hh>
 
@@ -13,7 +17,6 @@ namespace eina = efl::eina;
 
 void thread1(eina::mutex&)
 {
-  
 }
 
 int main()
@@ -27,6 +30,6 @@ int main()
    eina::unique_lock<eina::mutex> l(m);
 
    eina::thread thread1(&::thread1, eina::ref(m));
-   
+
    thread1.join();
 }
diff --git a/src/tests/ecore_cxx/ecore_cxx_suite.cc 
b/src/tests/ecore_cxx/ecore_cxx_suite.cc
index 9394672..d2888ef 100644
--- a/src/tests/ecore_cxx/ecore_cxx_suite.cc
+++ b/src/tests/ecore_cxx/ecore_cxx_suite.cc
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include "Ecore.hh"
 
diff --git a/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc 
b/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc
index 9be7d73..1425041 100644
--- a/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc
+++ b/src/tests/ecore_cxx/ecore_cxx_test_safe_call.cc
@@ -1,3 +1,6 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
 
 #include "Ecore.hh"
 #include "Eina.hh"
diff --git a/src/tests/eet_cxx/eet_cxx_suite.cc 
b/src/tests/eet_cxx/eet_cxx_suite.cc
index 26e658b..fa4465e 100644
--- a/src/tests/eet_cxx/eet_cxx_suite.cc
+++ b/src/tests/eet_cxx/eet_cxx_suite.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eet.hh"
 #include <Eina.h>
 
diff --git a/src/tests/eet_cxx/eet_cxx_test_descriptors.cc 
b/src/tests/eet_cxx/eet_cxx_test_descriptors.cc
index bc21418..05af641 100644
--- a/src/tests/eet_cxx/eet_cxx_test_descriptors.cc
+++ b/src/tests/eet_cxx/eet_cxx_test_descriptors.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eet.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_suite.cc 
b/src/tests/eina_cxx/eina_cxx_suite.cc
index 942d539..7555805 100644
--- a/src/tests/eina_cxx/eina_cxx_suite.cc
+++ b/src/tests/eina_cxx/eina_cxx_suite.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <cassert>
@@ -71,7 +75,7 @@ eina_build_suite(int argc, const char **argv)
    Suite *s;
    int i;
 
-   s = suite_create("Eina");
+   s = suite_create("Eina C++");
 
    for (i = 0; etc[i].test_case; ++i)
      {
diff --git a/src/tests/eina_cxx/eina_cxx_test_accessor.cc 
b/src/tests/eina_cxx/eina_cxx_test_accessor.cc
index 21ad5e0..8d04ecc 100644
--- a/src/tests/eina_cxx/eina_cxx_test_accessor.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_accessor.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_error.cc 
b/src/tests/eina_cxx/eina_cxx_test_error.cc
index fb3a6aa..8cea5b5 100644
--- a/src/tests/eina_cxx/eina_cxx_test_error.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_error.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <check.h>
diff --git a/src/tests/eina_cxx/eina_cxx_test_inarray.cc 
b/src/tests/eina_cxx/eina_cxx_test_inarray.cc
index e9d890d..995ae9b 100644
--- a/src/tests/eina_cxx/eina_cxx_test_inarray.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_inarray.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_inlist.cc 
b/src/tests/eina_cxx/eina_cxx_test_inlist.cc
index 0fd7c75..144dfe4 100644
--- a/src/tests/eina_cxx/eina_cxx_test_inlist.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_inlist.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_iterator.cc 
b/src/tests/eina_cxx/eina_cxx_test_iterator.cc
index ee4b356..5a0a393 100644
--- a/src/tests/eina_cxx/eina_cxx_test_iterator.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_iterator.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_log.cc 
b/src/tests/eina_cxx/eina_cxx_test_log.cc
index 4d32d41..e20ebdf 100644
--- a/src/tests/eina_cxx/eina_cxx_test_log.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_log.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_optional.cc 
b/src/tests/eina_cxx/eina_cxx_test_optional.cc
index a809f66..6619ee9 100644
--- a/src/tests/eina_cxx/eina_cxx_test_optional.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_optional.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_stringshare.cc 
b/src/tests/eina_cxx/eina_cxx_test_stringshare.cc
index 5e06cbc..d10ad36 100644
--- a/src/tests/eina_cxx/eina_cxx_test_stringshare.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_stringshare.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_thread.cc 
b/src/tests/eina_cxx/eina_cxx_test_thread.cc
index 1a74935..11a8f39 100644
--- a/src/tests/eina_cxx/eina_cxx_test_thread.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_thread.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <algorithm>
diff --git a/src/tests/eina_cxx/eina_cxx_test_value.cc 
b/src/tests/eina_cxx/eina_cxx_test_value.cc
index 07bf3e5..c095f85 100644
--- a/src/tests/eina_cxx/eina_cxx_test_value.cc
+++ b/src/tests/eina_cxx/eina_cxx_test_value.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eina.hh"
 
 #include <check.h>
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_suite.cc 
b/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
index a8be883..b9a145d 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_suite.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include <Eina.h>
 #include "Eldbus.hh"
 
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc 
b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc
index f16e72e..e54645b 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eldbus.hh"
 #include "Ecore.hh"
 
diff --git a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc 
b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
index 3d7716e..ffac324 100644
--- a/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
+++ b/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
@@ -1,4 +1,8 @@
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include "Eldbus.hh"
 #include "Ecore.hh"
 

-- 


Reply via email to