From 9886e96f010045eaf6cb7e9f25d8d70269bb4a3d Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 5 Mar 2011 15:02:39 +0000 Subject: Run unittests in check target. --- tests/Makefile.am | 3 +++ tests/Makefile.in | 3 +++ 2 files changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index f7f4cd2..6351301 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -2,3 +2,6 @@ AM_CPPFLAGS = -I $(srcdir)/../lib check_PROGRAMS = unittests unittests_SOURCES = unittests.c unittests_LDADD = ../lib/libdynstr.la + +check: + ./unittests diff --git a/tests/Makefile.in b/tests/Makefile.in index 850e5b9..7ae7c5e 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -464,6 +464,9 @@ uninstall-am: tags uninstall uninstall-am +check: + ./unittests + # 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: -- cgit v1.2.1