Browse Source

Use AMD check in test.

1.0.2
Georg Hopp 10 years ago
parent
commit
c3e878d833
  1. 9
      tests/Makefile.am

9
tests/Makefile.am

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