summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-15 20:51:04 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-15 20:51:04 +0000
commit1d295abac0340e18fa20aa2abc67be76cdc0b8d3 (patch)
treea16e9ef9a2c47863d598b55877bf03dfab19b91a /src
parent40148ef2c551e7a74f26b90393ef8199eb833259 (diff)
efl: use autotools testsuite for running tests
Instead of just making our own "check-local" and calling the binaries ourselves, just append them into "TESTS" variable. Then they run after all check_PROGRAMS are compiled. The reasons for changing are: 1) If we change the test and call "make check" the test is not compiled again -- and the only way to compile it is to "make clean". 2) There's no need to reinvent the wheel here. With a recent version of Automake, the test output is redirected to log files. This is good but unexpected for whom was used to the previous way. So, be warned. SVN revision: 82841
Diffstat (limited to '')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/Makefile_Ecore.am1
-rw-r--r--src/Makefile_Eet.am1
-rw-r--r--src/Makefile_Eina.am1
-rw-r--r--src/Makefile_Eo.am1
-rw-r--r--src/Makefile_Evas.am1
6 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 865cad96ad..8600eaca56 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,7 @@ bin_PROGRAMS =
11bin_SCRIPTS = 11bin_SCRIPTS =
12noinst_PROGRAMS = 12noinst_PROGRAMS =
13check_PROGRAMS = 13check_PROGRAMS =
14TESTS =
14EXTRA_DIST = 15EXTRA_DIST =
15 16
16include Makefile_Evil.am 17include Makefile_Evil.am
diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am
index 97bb235519..e901c7f205 100644
--- a/src/Makefile_Ecore.am
+++ b/src/Makefile_Ecore.am
@@ -58,6 +58,7 @@ lib_ecore_libecore_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
58if EFL_ENABLE_TESTS 58if EFL_ENABLE_TESTS
59 59
60check_PROGRAMS += tests/ecore/ecore_suite 60check_PROGRAMS += tests/ecore/ecore_suite
61TESTS += tests/ecore/ecore_suite
61 62
62tests_ecore_ecore_suite_SOURCES = \ 63tests_ecore_ecore_suite_SOURCES = \
63tests/ecore/ecore_suite.c \ 64tests/ecore/ecore_suite.c \
diff --git a/src/Makefile_Eet.am b/src/Makefile_Eet.am
index 63142dc366..7646f0f880 100644
--- a/src/Makefile_Eet.am
+++ b/src/Makefile_Eet.am
@@ -54,6 +54,7 @@ bin_eet_eet_DEPENDENCIES = @USE_EET_INTERNAL_LIBS@
54if EFL_ENABLE_TESTS 54if EFL_ENABLE_TESTS
55 55
56check_PROGRAMS += tests/eet/eet_suite 56check_PROGRAMS += tests/eet/eet_suite
57TESTS += tests/eet/eet_suite
57 58
58tests_eet_eet_suite_SOURCES = \ 59tests_eet_eet_suite_SOURCES = \
59tests/eet/eet_suite.c \ 60tests/eet/eet_suite.c \
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
index 80af55f93f..08899d3150 100644
--- a/src/Makefile_Eina.am
+++ b/src/Makefile_Eina.am
@@ -220,6 +220,7 @@ bin_SCRIPTS += scripts/eina/eina-bench-cmp
220if EFL_ENABLE_TESTS 220if EFL_ENABLE_TESTS
221 221
222check_PROGRAMS += tests/eina/eina_suite tests/eina/cxx_compile_test 222check_PROGRAMS += tests/eina/eina_suite tests/eina/cxx_compile_test
223#TESTS += tests/eina/eina_suite
223 224
224tests_eina_eina_suite_SOURCES = \ 225tests_eina_eina_suite_SOURCES = \
225tests/eina/eina_suite.c \ 226tests/eina/eina_suite.c \
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
index f2dd3c4eb1..4c055d4c5a 100644
--- a/src/Makefile_Eo.am
+++ b/src/Makefile_Eo.am
@@ -29,6 +29,7 @@ tests/eo/test_signals
29 29
30if EFL_ENABLE_TESTS 30if EFL_ENABLE_TESTS
31check_PROGRAMS += tests/eo/eo_suite 31check_PROGRAMS += tests/eo/eo_suite
32TESTS += tests/eo/eo_suite
32endif 33endif
33 34
34tests_eo_test_access_SOURCES = \ 35tests_eo_test_access_SOURCES = \
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 82f792f611..6accb398f1 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -1546,6 +1546,7 @@ endif
1546if EFL_ENABLE_TESTS 1546if EFL_ENABLE_TESTS
1547 1547
1548check_PROGRAMS += tests/evas/evas_suite 1548check_PROGRAMS += tests/evas/evas_suite
1549TESTS += tests/evas/evas_suite
1549 1550
1550tests_evas_evas_suite_SOURCES = \ 1551tests_evas_evas_suite_SOURCES = \
1551tests/evas/evas_suite.c \ 1552tests/evas/evas_suite.c \