aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
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 /Makefile.am
parentefl: update gitignore (diff)
downloadefl-1d295abac0340e18fa20aa2abc67be76cdc0b8d3.tar.gz
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 'Makefile.am')
-rw-r--r--Makefile.am9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 712de985ea..25b72996e2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -255,19 +255,14 @@ endif
if EFL_ENABLE_TESTS
-check-local:
+lcov-check:
if EFL_ENABLE_COVERAGE
@$(MAKE) $(AM_MAKEFLAGS) lcov-reset
endif
-# @./src/tests/eina/eina_suite$(EXEEXT)
- @./src/tests/eet/eet_suite$(EXEEXT)
- @./src/tests/eo/eo_suite$(EXEEXT)
- @./src/tests/evas/evas_suite$(EXEEXT)
- @./src/tests/ecore/ecore_suite$(EXEEXT)
+ @$(MAKE) $(AM_MAKEFLAGS) check
if EFL_ENABLE_COVERAGE
@$(MAKE) $(AM_MAKEFLAGS) lcov-report
endif
-
endif
# benchmark