diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-03-05 15:02:39 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-03-05 15:02:39 +0000 |
commit | 9886e96f010045eaf6cb7e9f25d8d70269bb4a3d (patch) | |
tree | 7ebdd11c16d1229b116c6e3582b937e77c1113ee | |
parent | 278e37ea4d5bf75d127c1fb3158ba9d4a70a2fdc (diff) | |
download | dynstr-9886e96f010045eaf6cb7e9f25d8d70269bb4a3d.tar.gz |
Run unittests in check target.
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/Makefile.in | 3 |
2 files changed, 6 insertions, 0 deletions
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: |