diff options
| -rw-r--r-- | Makefile.am | 3 | ||||
| -rw-r--r-- | tests/Makefile.am | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 4dc0a2c..f1a6938 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,6 @@ DIST_SUBDIRS = src EXTRA_DIST = \ autogen.sh \ LICENSE + +test: all + cd tests ; $(MAKE) check diff --git a/tests/Makefile.am b/tests/Makefile.am index 2b70ec5..1cc23f1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,8 +1,10 @@ AM_CPPFLAGS = -I$(top_srcdir)/src -bin_PROGRAMS = test +noinst_PROGRAMS = test test_LDFLAGS = -lcheck test_SOURCES = ../src/csv_parser.c \ ../src/csv_parser.h \ main.c + +TESTS = test |
