summaryrefslogtreecommitdiff
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
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 '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
255 255
256if EFL_ENABLE_TESTS 256if EFL_ENABLE_TESTS
257 257
258check-local: 258lcov-check:
259if EFL_ENABLE_COVERAGE 259if EFL_ENABLE_COVERAGE
260 @$(MAKE) $(AM_MAKEFLAGS) lcov-reset 260 @$(MAKE) $(AM_MAKEFLAGS) lcov-reset
261endif 261endif
262# @./src/tests/eina/eina_suite$(EXEEXT) 262 @$(MAKE) $(AM_MAKEFLAGS) check
263 @./src/tests/eet/eet_suite$(EXEEXT)
264 @./src/tests/eo/eo_suite$(EXEEXT)
265 @./src/tests/evas/evas_suite$(EXEEXT)
266 @./src/tests/ecore/ecore_suite$(EXEEXT)
267if EFL_ENABLE_COVERAGE 263if EFL_ENABLE_COVERAGE
268 @$(MAKE) $(AM_MAKEFLAGS) lcov-report 264 @$(MAKE) $(AM_MAKEFLAGS) lcov-report
269endif 265endif
270
271endif 266endif
272 267
273# benchmark 268# benchmark