diff --git a/tests/Makefile.am b/tests/Makefile.am index ba61d03..e3c7702 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,11 +1,14 @@ ACLOCAL_AMFLAGS = -I m4 AUTOMAKE_OPTIONS = subdir-objects +if IS_AMD +else TESTS_ENVIRONMENT = valgrind \ --error-exitcode=123 \ --leak-check=full \ --suppressions=./suppress/external.supp \ --quiet +endif TESTS = classTest check_PROGRAMS = classTest @@ -51,15 +54,15 @@ coverage-html: clean clean-coverage check clean-coverage: clean-gcda clean-gcno $(LCOV) -d $(top_srcdir) -z -rm -rf coverage.info coverage.base coverage.run $(cov_dir) - + clean-gcda: @echo Removing old coverage results -find $(top_srcdir) -name '*.gcda' -print | xargs -r rm - + clean-gcno: @echo Removing old coverage results -find $(top_srcdir) -name '*.gcno' -print | xargs -r rm - + clean-local: clean-coverage endif # HAVE_GCOV