From bcd7d1e98d7367256c030c6fd28a706e284edabd Mon Sep 17 00:00:00 2001 From: WaLyong Cho Date: Wed, 21 Sep 2016 12:46:10 +0900 Subject: [PATCH] make: add tests --- src/.gitignore | 3 ++- src/Makefile.am | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/.gitignore b/src/.gitignore index 73954b7..7ca4570 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1 +1,2 @@ -/Makefile \ No newline at end of file +/Makefile +/test-* \ No newline at end of file diff --git a/src/Makefile.am b/src/Makefile.am index 7b8a47f..be42ed4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +AUTOMAKE_OPTIONS = color-tests parallel-tests + pkgconfiglibdir=$(libdir)/pkgconfig CLEANFILES = @@ -8,6 +10,13 @@ noinst_LTLIBRARIES = noinst_DATA = pkgconfiglib_DATA = +check_PROGRAMS = +check_DATA = +tests= +noinst_PROGRAMS = $(tests) +check_PROGRAMS += $(tests) +TESTS = $(tests) + DEFAULT_CFLAGS = \ $(OUR_CFLAGS) -- 2.34.1