summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-03-12 12:46:06 +0000
committerTom Hacohen <tom@stosb.com>2013-03-12 12:46:06 +0000
commit3ba9311c0fc2774d9b5aaef395f82144a3312378 (patch)
tree73c3d2e1c8977afb69b513b9007a302db1a64d18 /src
parentb13fe184bfc393f2113a9de5114b3d72458f49f9 (diff)
Tests: Output XML to build dir, not source dir.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_EDBus.am2
-rw-r--r--src/Makefile_Ecore.am1
-rw-r--r--src/Makefile_Edje.am2
-rw-r--r--src/Makefile_Eet.am1
-rw-r--r--src/Makefile_Eeze.am1
-rw-r--r--src/Makefile_Efreet.am2
-rw-r--r--src/Makefile_Eina.am1
-rw-r--r--src/Makefile_Eo.am2
-rw-r--r--src/Makefile_Evas.am1
-rw-r--r--src/tests/ecore/ecore_suite.c2
-rw-r--r--src/tests/edbus/edbus_suite.c2
-rw-r--r--src/tests/edje/edje_suite.c2
-rw-r--r--src/tests/eet/eet_suite.c2
-rw-r--r--src/tests/eeze/eeze_suite.c2
-rw-r--r--src/tests/efreet/efreet_suite.c2
-rw-r--r--src/tests/eina/eina_suite.c2
-rw-r--r--src/tests/eo/suite/eo_suite.c2
-rw-r--r--src/tests/evas/evas_suite.c2
18 files changed, 18 insertions, 13 deletions
diff --git a/src/Makefile_EDBus.am b/src/Makefile_EDBus.am
index 99f0c63c2e..b47a40cd36 100644
--- a/src/Makefile_EDBus.am
+++ b/src/Makefile_EDBus.am
@@ -72,7 +72,7 @@ tests/edbus/edbus_test_edbus_init.c \
72tests/edbus/edbus_suite.h 72tests/edbus/edbus_suite.h
73 73
74tests_edbus_edbus_suite_CPPFLAGS = @CHECK_CFLAGS@ @EDBUS_CFLAGS@ \ 74tests_edbus_edbus_suite_CPPFLAGS = @CHECK_CFLAGS@ @EDBUS_CFLAGS@ \
75-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/edbus\" 75-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edbus\"
76 76
77tests_edbus_edbus_suite_LDADD = @CHECK_LIBS@ @USE_EDBUS_LIBS@ 77tests_edbus_edbus_suite_LDADD = @CHECK_LIBS@ @USE_EDBUS_LIBS@
78tests_edbus_edbus_suite_DEPENDENCIES = @USE_EDBUS_INTERNAL_LIBS@ 78tests_edbus_edbus_suite_DEPENDENCIES = @USE_EDBUS_INTERNAL_LIBS@
diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am
index c78f51b555..1dcbc84a18 100644
--- a/src/Makefile_Ecore.am
+++ b/src/Makefile_Ecore.am
@@ -72,6 +72,7 @@ tests/ecore/ecore_suite.h
72 72
73tests_ecore_ecore_suite_CPPFLAGS = \ 73tests_ecore_ecore_suite_CPPFLAGS = \
74-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore\" \ 74-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore\" \
75-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore\" \
75@CHECK_CFLAGS@ \ 76@CHECK_CFLAGS@ \
76@ECORE_CFLAGS@ \ 77@ECORE_CFLAGS@ \
77@ECORE_AUDIO_CFLAGS@ \ 78@ECORE_AUDIO_CFLAGS@ \
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 0b20f8b8f6..20ec55288b 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -210,7 +210,7 @@ tests/edje/edje_suite.h
210 210
211tests_edje_edje_suite_CPPFLAGS = \ 211tests_edje_edje_suite_CPPFLAGS = \
212$(EDJE_COMMON_CPPFLAGS) \ 212$(EDJE_COMMON_CPPFLAGS) \
213-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/edje\" \ 213-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edje\" \
214@CHECK_CFLAGS@ 214@CHECK_CFLAGS@
215tests_edje_edje_suite_LDADD = @CHECK_LIBS@ @USE_EDJE_LIBS@ 215tests_edje_edje_suite_LDADD = @CHECK_LIBS@ @USE_EDJE_LIBS@
216tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 216tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
diff --git a/src/Makefile_Eet.am b/src/Makefile_Eet.am
index 7646f0f880..8f0ebf2892 100644
--- a/src/Makefile_Eet.am
+++ b/src/Makefile_Eet.am
@@ -64,6 +64,7 @@ tests/eet/eet_suite.h
64tests_eet_eet_suite_CPPFLAGS = \ 64tests_eet_eet_suite_CPPFLAGS = \
65-DTESTS_WD=\"`pwd`\" \ 65-DTESTS_WD=\"`pwd`\" \
66-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet\" \ 66-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet\" \
67-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eet\" \
67@CHECK_CFLAGS@ \ 68@CHECK_CFLAGS@ \
68@EET_CFLAGS@ 69@EET_CFLAGS@
69tests_eet_eet_suite_LDADD = @CHECK_LIBS@ @USE_EET_LIBS@ 70tests_eet_eet_suite_LDADD = @CHECK_LIBS@ @USE_EET_LIBS@
diff --git a/src/Makefile_Eeze.am b/src/Makefile_Eeze.am
index 7bbe383811..f81d4016ba 100644
--- a/src/Makefile_Eeze.am
+++ b/src/Makefile_Eeze.am
@@ -139,6 +139,7 @@ tests_eeze_eeze_suite_SOURCES = tests/eeze/eeze_suite.c
139tests_eeze_eeze_suite_CPPFLAGS = \ 139tests_eeze_eeze_suite_CPPFLAGS = \
140@EEZE_CFLAGS@ \ 140@EEZE_CFLAGS@ \
141-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eeze\" \ 141-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eeze\" \
142-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eeze\" \
142@CHECK_CFLAGS@ 143@CHECK_CFLAGS@
143tests_eeze_eeze_suite_LDADD = @CHECK_LIBS@ @USE_EEZE_LIBS@ 144tests_eeze_eeze_suite_LDADD = @CHECK_LIBS@ @USE_EEZE_LIBS@
144tests_eeze_eeze_suite_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@ 145tests_eeze_eeze_suite_DEPENDENCIES = @USE_EEZE_INTERNAL_LIBS@
diff --git a/src/Makefile_Efreet.am b/src/Makefile_Efreet.am
index c5181f1668..0cbdca902a 100644
--- a/src/Makefile_Efreet.am
+++ b/src/Makefile_Efreet.am
@@ -199,7 +199,7 @@ tests/efreet/efreet_test_efreet.c \
199tests/efreet/efreet_test_efreet_cache.c 199tests/efreet/efreet_test_efreet_cache.c
200 200
201tests_efreet_efreet_suite_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS) @CHECK_CFLAGS@ \ 201tests_efreet_efreet_suite_CPPFLAGS = $(EFREET_COMMON_CPPFLAGS) @CHECK_CFLAGS@ \
202-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/efreet\" 202-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/efreet\"
203tests_efreet_efreet_suite_LDADD = @CHECK_LIBS@ @USE_EFREET_LIBS@ 203tests_efreet_efreet_suite_LDADD = @CHECK_LIBS@ @USE_EFREET_LIBS@
204tests_efreet_efreet_suite_DEPENDENCIES = @USE_EFREET_INTERNAL_LIBS@ 204tests_efreet_efreet_suite_DEPENDENCIES = @USE_EFREET_INTERNAL_LIBS@
205 205
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
index 20a2c830ba..9b85a85a83 100644
--- a/src/Makefile_Eina.am
+++ b/src/Makefile_Eina.am
@@ -269,6 +269,7 @@ tests/eina/eina_test_tmpstr.c
269 269
270tests_eina_eina_suite_CPPFLAGS = \ 270tests_eina_eina_suite_CPPFLAGS = \
271-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)/src/tests/eina\" \ 271-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)/src/tests/eina\" \
272-DTESTS_BUILD_DIR=PACKAGE_BUILD_DIR \
272@CHECK_CFLAGS@ \ 273@CHECK_CFLAGS@ \
273@EINA_CFLAGS@ 274@EINA_CFLAGS@
274tests_eina_eina_suite_LDADD = @CHECK_LIBS@ @USE_EINA_LIBS@ 275tests_eina_eina_suite_LDADD = @CHECK_LIBS@ @USE_EINA_LIBS@
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
index 201b5b9747..c0f13076ba 100644
--- a/src/Makefile_Eo.am
+++ b/src/Makefile_Eo.am
@@ -84,7 +84,7 @@ tests/eo/suite/eo_test_class_errors.c \
84tests/eo/suite/eo_test_general.c \ 84tests/eo/suite/eo_test_general.c \
85tests/eo/suite/eo_test_init.c 85tests/eo/suite/eo_test_init.c
86tests_eo_eo_suite_CPPFLAGS = \ 86tests_eo_eo_suite_CPPFLAGS = \
87-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eo\" \ 87-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eo\" \
88@CHECK_CFLAGS@ \ 88@CHECK_CFLAGS@ \
89@EO_CFLAGS@ 89@EO_CFLAGS@
90TESTS += tests/eo/eo_suite 90TESTS += tests/eo/eo_suite
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 1bd921ddc1..257d06cc2e 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -1635,6 +1635,7 @@ tests/evas/evas_suite.h
1635 1635
1636tests_evas_evas_suite_CPPFLAGS = \ 1636tests_evas_evas_suite_CPPFLAGS = \
1637-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/evas\" \ 1637-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/evas\" \
1638-DTESTS_BUILD_DIR=\"$(top_srcdir)/src/tests/evas\" \
1638@CHECK_CFLAGS@ \ 1639@CHECK_CFLAGS@ \
1639@EVAS_CFLAGS@ 1640@EVAS_CFLAGS@
1640 1641
diff --git a/src/tests/ecore/ecore_suite.c b/src/tests/ecore/ecore_suite.c
index 02f1812ee4..0d89390a99 100644
--- a/src/tests/ecore/ecore_suite.c
+++ b/src/tests/ecore/ecore_suite.c
@@ -102,7 +102,7 @@ main(int argc, char **argv)
102 s = ecore_suite_build(argc - 1, (const char **)argv + 1); 102 s = ecore_suite_build(argc - 1, (const char **)argv + 1);
103 sr = srunner_create(s); 103 sr = srunner_create(s);
104 104
105 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 105 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
106 106
107 srunner_run_all(sr, CK_ENV); 107 srunner_run_all(sr, CK_ENV);
108 failed_count = srunner_ntests_failed(sr); 108 failed_count = srunner_ntests_failed(sr);
diff --git a/src/tests/edbus/edbus_suite.c b/src/tests/edbus/edbus_suite.c
index 8ffe45c1cb..ccba525e6d 100644
--- a/src/tests/edbus/edbus_suite.c
+++ b/src/tests/edbus/edbus_suite.c
@@ -98,7 +98,7 @@ main(int argc, char **argv)
98 s = edbus_suite_build(argc - 1, (const char **)argv + 1); 98 s = edbus_suite_build(argc - 1, (const char **)argv + 1);
99 sr = srunner_create(s); 99 sr = srunner_create(s);
100 100
101 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 101 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
102 102
103 srunner_run_all(sr, CK_ENV); 103 srunner_run_all(sr, CK_ENV);
104 failed_count = srunner_ntests_failed(sr); 104 failed_count = srunner_ntests_failed(sr);
diff --git a/src/tests/edje/edje_suite.c b/src/tests/edje/edje_suite.c
index 8cdabeb5b3..86216641de 100644
--- a/src/tests/edje/edje_suite.c
+++ b/src/tests/edje/edje_suite.c
@@ -95,7 +95,7 @@ main(int argc, char **argv)
95 s = edje_suite_build(argc - 1, (const char **)argv + 1); 95 s = edje_suite_build(argc - 1, (const char **)argv + 1);
96 sr = srunner_create(s); 96 sr = srunner_create(s);
97 97
98 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 98 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
99 99
100 srunner_run_all(sr, CK_ENV); 100 srunner_run_all(sr, CK_ENV);
101 failed_count = srunner_ntests_failed(sr); 101 failed_count = srunner_ntests_failed(sr);
diff --git a/src/tests/eet/eet_suite.c b/src/tests/eet/eet_suite.c
index 351809ba61..dec16ed492 100644
--- a/src/tests/eet/eet_suite.c
+++ b/src/tests/eet/eet_suite.c
@@ -2762,7 +2762,7 @@ main(int argc EINA_UNUSED, char *argv[])
2762 2762
2763 s = eet_suite(); 2763 s = eet_suite();
2764 sr = srunner_create(s); 2764 sr = srunner_create(s);
2765 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 2765 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
2766 srunner_run_all(sr, CK_ENV); 2766 srunner_run_all(sr, CK_ENV);
2767 failed_count = srunner_ntests_failed(sr); 2767 failed_count = srunner_ntests_failed(sr);
2768 srunner_free(sr); 2768 srunner_free(sr);
diff --git a/src/tests/eeze/eeze_suite.c b/src/tests/eeze/eeze_suite.c
index 3f887eb45a..2de49c7979 100644
--- a/src/tests/eeze/eeze_suite.c
+++ b/src/tests/eeze/eeze_suite.c
@@ -677,7 +677,7 @@ main(void)
677 677
678 s = eeze_suite(); 678 s = eeze_suite();
679 sr = srunner_create(s); 679 sr = srunner_create(s);
680 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 680 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
681 srunner_run_all(sr, CK_ENV); 681 srunner_run_all(sr, CK_ENV);
682 failed_count = srunner_ntests_failed(sr); 682 failed_count = srunner_ntests_failed(sr);
683 srunner_free(sr); 683 srunner_free(sr);
diff --git a/src/tests/efreet/efreet_suite.c b/src/tests/efreet/efreet_suite.c
index 4455848af8..0ce5fd17ac 100644
--- a/src/tests/efreet/efreet_suite.c
+++ b/src/tests/efreet/efreet_suite.c
@@ -97,7 +97,7 @@ main(int argc, char **argv)
97 s = efreet_suite_build(argc - 1, (const char **)argv + 1); 97 s = efreet_suite_build(argc - 1, (const char **)argv + 1);
98 sr = srunner_create(s); 98 sr = srunner_create(s);
99 99
100 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 100 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
101 101
102 srunner_run_all(sr, CK_NORMAL); 102 srunner_run_all(sr, CK_NORMAL);
103 failed_count = srunner_ntests_failed(sr); 103 failed_count = srunner_ntests_failed(sr);
diff --git a/src/tests/eina/eina_suite.c b/src/tests/eina/eina_suite.c
index 1cc317f49c..1577b3aebb 100644
--- a/src/tests/eina/eina_suite.c
+++ b/src/tests/eina/eina_suite.c
@@ -175,7 +175,7 @@ main(int argc, char **argv)
175 s = eina_build_suite(argc - 1, (const char **)argv + 1); 175 s = eina_build_suite(argc - 1, (const char **)argv + 1);
176 sr = srunner_create(s); 176 sr = srunner_create(s);
177 177
178 srunner_set_xml (sr, PACKAGE_BUILD_DIR "/check-results.xml"); 178 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
179 179
180 _mempool_init(); 180 _mempool_init();
181 181
diff --git a/src/tests/eo/suite/eo_suite.c b/src/tests/eo/suite/eo_suite.c
index b0828f0bc7..5194b32ad8 100644
--- a/src/tests/eo/suite/eo_suite.c
+++ b/src/tests/eo/suite/eo_suite.c
@@ -98,7 +98,7 @@ main(int argc, char **argv)
98 s = eo_suite_build(argc - 1, (const char **)argv + 1); 98 s = eo_suite_build(argc - 1, (const char **)argv + 1);
99 sr = srunner_create(s); 99 sr = srunner_create(s);
100 100
101 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 101 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
102 102
103 srunner_run_all(sr, CK_ENV); 103 srunner_run_all(sr, CK_ENV);
104 failed_count = srunner_ntests_failed(sr); 104 failed_count = srunner_ntests_failed(sr);
diff --git a/src/tests/evas/evas_suite.c b/src/tests/evas/evas_suite.c
index 77ea22dc1e..057f0988ea 100644
--- a/src/tests/evas/evas_suite.c
+++ b/src/tests/evas/evas_suite.c
@@ -100,7 +100,7 @@ main(int argc, char **argv)
100 s = evas_suite_build(argc - 1, (const char **)argv + 1); 100 s = evas_suite_build(argc - 1, (const char **)argv + 1);
101 sr = srunner_create(s); 101 sr = srunner_create(s);
102 102
103 srunner_set_xml (sr, TESTS_SRC_DIR "/check-results.xml"); 103 srunner_set_xml(sr, TESTS_BUILD_DIR "/check-results.xml");
104 104
105 srunner_run_all(sr, CK_ENV); 105 srunner_run_all(sr, CK_ENV);
106 failed_count = srunner_ntests_failed(sr); 106 failed_count = srunner_ntests_failed(sr);