diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-14 15:08:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-01-14 15:08:02 +0000 |
commit | 8d76eb12d5223d0fc3ea65d8d97f1feda2fcc340 (patch) | |
tree | 0fd0dd005a08843d538923c1a31d968a417dc4bf /src/test/Makefile.am | |
parent | Initial commit. (diff) | |
download | tinyframe-fb03707eb48eef5aa8cc502e356e5447452f2f0a.tar.xz tinyframe-fb03707eb48eef5aa8cc502e356e5447452f2f0a.zip |
Adding upstream version 0.1.1.upstream/0.1.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/Makefile.am')
-rw-r--r-- | src/test/Makefile.am | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/Makefile.am b/src/test/Makefile.am new file mode 100644 index 0000000..5e0e8a2 --- /dev/null +++ b/src/test/Makefile.am @@ -0,0 +1,29 @@ +MAINTAINERCLEANFILES = $(srcdir)/Makefile.in + +CLEANFILES = test*.log test*.trs test2.fstrm *.gcda *.gcno *.gcov + +AM_CFLAGS = -I$(top_srcdir)/src + +check_PROGRAMS = test1 test2 test3 +TESTS = test1.sh test2.sh test3.sh +EXTRA_DIST = $(TESTS) + +test1_SOURCES = test1.c +test1_LDADD = ../libtinyframe.la +test1_LDFLAGS = -static +EXTRA_DIST += test.fstrm + +test2_SOURCES = test2.c +test2_LDADD = ../libtinyframe.la +test2_LDFLAGS = -static + +test3_SOURCES = test3.c +test3_LDADD = ../libtinyframe.la +test3_LDFLAGS = -static + +if ENABLE_GCOV +gcov-local: + for src in $(test1_SOURCES) $(test2_SOURCES) $(test3_SOURCES); do \ + gcov -l -r -s "$(srcdir)" "$$src"; \ + done +endif |