Skip to content

Commit

Permalink
Updating tests cleaning and "make test"
Browse files Browse the repository at this point in the history
  • Loading branch information
noe committed Jan 15, 2017
1 parent 7e753a4 commit 753ac82
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Makefile.am
EXTRA_DIST = README doxygenconfig
SUBDIRS = src tests

test: check
2 changes: 2 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ uninstall-am:
.PRECIOUS: Makefile


test: check

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
2 changes: 2 additions & 0 deletions tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ iedera_gcov_CXXFLAGS = -fprofile-arcs -ftest-coverage -g -O0
iedera_gcov_SOURCES = ../src/main.cc ../src/seed.cc ../src/macro.cc

EXTRA_DIST = iedera_gcov_test1 iedera_gcov_test2 iedera_gcov_test3 iedera_gcov_test4 iedera_gcov_test5 iedera_gcov_test6

CLEANFILES = ../src/*.gcno ../src/*.gcda ../src/*.o *.trs *.log _filein*_ _fileout*_
2 changes: 2 additions & 0 deletions tests/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ TESTS_LOGS = iedera_gcov_test1 iedera_gcov_test2 iedera_gcov_test3 iedera_gcov_t
iedera_gcov_CXXFLAGS = -fprofile-arcs -ftest-coverage -g -O0
iedera_gcov_SOURCES = ../src/main.cc ../src/seed.cc ../src/macro.cc
EXTRA_DIST = iedera_gcov_test1 iedera_gcov_test2 iedera_gcov_test3 iedera_gcov_test4 iedera_gcov_test5 iedera_gcov_test6
CLEANFILES = ../src/*.gcno ../src/*.gcda ../src/*.o *.trs *.log _filein*_ _fileout*_
all: all-am

.SUFFIXES:
Expand Down Expand Up @@ -896,6 +897,7 @@ mostlyclean-generic:
-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)

clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
Expand Down

0 comments on commit 753ac82

Please sign in to comment.