Showing
1 changed file
with
6 additions
and
3 deletions
1 | ACLOCAL_AMFLAGS = -I m4 | 1 | ACLOCAL_AMFLAGS = -I m4 |
2 | AUTOMAKE_OPTIONS = subdir-objects | 2 | AUTOMAKE_OPTIONS = subdir-objects |
3 | 3 | ||
4 | +if IS_AMD | ||
5 | +else | ||
4 | TESTS_ENVIRONMENT = valgrind \ | 6 | TESTS_ENVIRONMENT = valgrind \ |
5 | --error-exitcode=123 \ | 7 | --error-exitcode=123 \ |
6 | --leak-check=full \ | 8 | --leak-check=full \ |
7 | --suppressions=./suppress/external.supp \ | 9 | --suppressions=./suppress/external.supp \ |
8 | --quiet | 10 | --quiet |
11 | +endif | ||
9 | TESTS = classTest | 12 | TESTS = classTest |
10 | check_PROGRAMS = classTest | 13 | check_PROGRAMS = classTest |
11 | 14 | ||
@@ -51,15 +54,15 @@ coverage-html: clean clean-coverage check | @@ -51,15 +54,15 @@ coverage-html: clean clean-coverage check | ||
51 | clean-coverage: clean-gcda clean-gcno | 54 | clean-coverage: clean-gcda clean-gcno |
52 | $(LCOV) -d $(top_srcdir) -z | 55 | $(LCOV) -d $(top_srcdir) -z |
53 | -rm -rf coverage.info coverage.base coverage.run $(cov_dir) | 56 | -rm -rf coverage.info coverage.base coverage.run $(cov_dir) |
54 | - | 57 | + |
55 | clean-gcda: | 58 | clean-gcda: |
56 | @echo Removing old coverage results | 59 | @echo Removing old coverage results |
57 | -find $(top_srcdir) -name '*.gcda' -print | xargs -r rm | 60 | -find $(top_srcdir) -name '*.gcda' -print | xargs -r rm |
58 | - | 61 | + |
59 | clean-gcno: | 62 | clean-gcno: |
60 | @echo Removing old coverage results | 63 | @echo Removing old coverage results |
61 | -find $(top_srcdir) -name '*.gcno' -print | xargs -r rm | 64 | -find $(top_srcdir) -name '*.gcno' -print | xargs -r rm |
62 | - | 65 | + |
63 | clean-local: clean-coverage | 66 | clean-local: clean-coverage |
64 | 67 | ||
65 | endif # HAVE_GCOV | 68 | endif # HAVE_GCOV |
Please
register
or
login
to post a comment