diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2013-01-15 20:51:04 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2013-01-15 20:51:04 +0000 |
commit | 1d295abac0340e18fa20aa2abc67be76cdc0b8d3 (patch) | |
tree | a16e9ef9a2c47863d598b55877bf03dfab19b91a /Makefile.am | |
parent | 40148ef2c551e7a74f26b90393ef8199eb833259 (diff) | |
download | efl-1d295abac0340e18fa20aa2abc67be76cdc0b8d3.tar.gz efl-1d295abac0340e18fa20aa2abc67be76cdc0b8d3.tar.xz efl-1d295abac0340e18fa20aa2abc67be76cdc0b8d3.zip |
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.am | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index 712de985e..25b72996e 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 |